Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001148, allocations: 108.1 kB / 16.62 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 193.8 kB / 17.55 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1592/0.1592, allocations: 38.03 MB / 329.4 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 66.2 kB / 398.4 MB, free: 34.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07643/0.07765, allocations: 58.07 MB / 456.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004171/0.08185, allocations: 3.674 MB / 460.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.08362, allocations: 1.5 MB / 461.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.08378, allocations: 11.94 kB / 461.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006537/0.08445, allocations: 235.2 kB / 461.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.08497, allocations: 263.1 kB / 462.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.08521, allocations: 95.81 kB / 462.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.08554, allocations: 339 kB / 462.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.08583, allocations: 153.9 kB / 462.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.08603, allocations: 151.3 kB / 462.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.08625, allocations: 171.4 kB / 463 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.08628, allocations: 16 kB / 463 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.08667, allocations: 303.2 kB / 463.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.182e-05/0.08677, allocations: 99.75 kB / 463.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.356e-05/0.08687, allocations: 107.4 kB / 463.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.08726, allocations: 370.9 kB / 463.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.08727, allocations: 0 / 463.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.08728, allocations: 7.938 kB / 463.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.08729, allocations: 0 / 463.9 MB, free: 0.8594 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005442/0.08784, allocations: 0.5025 MB / 464.4 MB, free: 316 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.08788, allocations: 15.89 kB / 464.4 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.08793, allocations: 54.72 kB / 464.5 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007378/0.08868, allocations: 92.55 kB / 464.6 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.08894, allocations: 252.5 kB / 464.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.08896, allocations: 16.33 kB / 464.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.08901, allocations: 23.94 kB / 464.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.08942, allocations: 314.3 kB / 465.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.08944, allocations: 0 / 465.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.08947, allocations: 11.98 kB / 465.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.0895, allocations: 16 kB / 465.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.08988, allocations: 287.7 kB / 465.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.09123, allocations: 1.297 MB / 466.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.09158, allocations: 246.2 kB / 467 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.728e-05/0.09167, allocations: 57.69 kB / 467.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.0917, allocations: 4 kB / 467.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.09172, allocations: 34.56 kB / 467.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.09173, allocations: 0 / 467.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005054/0.09224, allocations: 286.1 kB / 467.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.09229, allocations: 85.23 kB / 467.5 MB, free: 13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.09244, allocations: 194.3 kB / 467.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.09246, allocations: 29.64 kB / 467.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.09254, allocations: 163.8 kB / 467.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.09258, allocations: 51.3 kB / 467.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.09264, allocations: 45.61 kB / 467.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.09273, allocations: 326.8 kB / 468.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.09281, allocations: 43.97 kB / 468.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.09293, allocations: 149.7 kB / 468.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.09314, allocations: 216.6 kB / 468.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.09315, allocations: 4 kB / 468.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002812/0.09344, allocations: 233 kB / 468.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.09346, allocations: 6.344 kB / 468.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.09347, allocations: 4 kB / 468.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.09349, allocations: 4 kB / 468.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.09363, allocations: 47.91 kB / 468.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.09365, allocations: 4 kB / 468.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.479e-05/0.09375, allocations: 8.438 kB / 468.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.09378, allocations: 16 kB / 469 MB, free: 11.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.09389, allocations: 169.6 kB / 469.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.09394, allocations: 15.81 kB / 469.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.09417, allocations: 147.1 kB / 469.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.09418, allocations: 4 kB / 469.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.09419, allocations: 0 / 469.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.0942, allocations: 3.984 kB / 469.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007075/0.09491, allocations: 0.6653 MB / 470 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.09493, allocations: 4 kB / 470 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.815e-05/0.09503, allocations: 39.86 kB / 470 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.09504, allocations: 4 kB / 470 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.09506, allocations: 4 kB / 470 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.09507, allocations: 7.984 kB / 470 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.09508, allocations: 4 kB / 470 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.09534, allocations: 334.6 kB / 470.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-05/0.0954, allocations: 108.8 kB / 470.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.09543, allocations: 8 kB / 470.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.09556, allocations: 8 kB / 470.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.0956, allocations: 19.92 kB / 470.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.09562, allocations: 12 kB / 470.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.874e-05/0.09572, allocations: 148.2 kB / 470.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.09573, allocations: 0 / 470.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.09605, allocations: 44 kB / 470.7 MB, free: 9.441 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004419/0.0965, allocations: 0.8652 MB / 471.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.09672, allocations: 155.6 kB / 471.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.09673, allocations: 0 / 471.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.09682, allocations: 61.47 kB / 471.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.09722, allocations: 51.7 kB / 471.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.09927, allocations: 2.46 MB / 474.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.09954, allocations: 0.7632 MB / 475 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.09966, allocations: 45.55 kB / 475.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.09975, allocations: 55.41 kB / 475.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.09975, allocations: 0 / 475.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2377/0.3375, allocations: 3.321 MB / 478.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/0.3378, allocations: 207.7 kB / 478.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.921, allocations: 3.938 kB / 478.7 MB, free: 1.16 MB / 350.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)