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.001172/0.001172, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.00117/0.00117, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.191/1.191, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1764/0.1764, allocations: 38.03 MB / 329.7 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 55.41 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07915, allocations: 58.06 MB / 457 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003895/0.08308, allocations: 3.43 MB / 460.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.08464, allocations: 1.45 MB / 461.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.627e-05/0.08474, allocations: 7.938 kB / 461.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00065/0.0854, allocations: 251 kB / 462.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.08585, allocations: 279 kB / 462.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.08608, allocations: 115.7 kB / 462.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.08639, allocations: 339 kB / 462.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.08663, allocations: 135.4 kB / 462.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.0868, allocations: 147.4 kB / 463.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.08701, allocations: 155.4 kB / 463.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.08704, allocations: 12 kB / 463.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.08744, allocations: 315.2 kB / 463.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.08754, allocations: 99.75 kB / 463.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.564e-05/0.08764, allocations: 99.48 kB / 463.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.08801, allocations: 347 kB / 464.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.08802, allocations: 0 / 464.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.08803, allocations: 0 / 464.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.08804, allocations: 0 / 464.1 MB, free: 0.7852 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.0005496/0.08859, allocations: 0.5143 MB / 464.6 MB, free: 228 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.08863, allocations: 11.89 kB / 464.6 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.08868, allocations: 50.73 kB / 464.7 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007485/0.08944, allocations: 92.55 kB / 464.8 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.0897, allocations: 252.4 kB / 465 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.08972, allocations: 28.25 kB / 465 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.08977, allocations: 19.94 kB / 465 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.09017, allocations: 310.4 kB / 465.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.09019, allocations: 4 kB / 465.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.09021, allocations: 11.94 kB / 465.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/0.09026, allocations: 12 kB / 465.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.09062, allocations: 283.8 kB / 465.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.09195, allocations: 1.301 MB / 467 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.09231, allocations: 238.3 kB / 467.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.0924, allocations: 61.7 kB / 467.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.09242, allocations: 4 kB / 467.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.09245, allocations: 34.5 kB / 467.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.09246, allocations: 0 / 467.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005218/0.09299, allocations: 298.2 kB / 467.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.09303, allocations: 77.11 kB / 467.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.09319, allocations: 194.5 kB / 467.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.09321, allocations: 29.7 kB / 467.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.0933, allocations: 159.8 kB / 468 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.09334, allocations: 51.3 kB / 468.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.0934, allocations: 45.61 kB / 468.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.09351, allocations: 330.8 kB / 468.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.01e-05/0.09358, allocations: 43.98 kB / 468.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.09371, allocations: 153.6 kB / 468.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.09395, allocations: 224.6 kB / 468.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.09396, allocations: 0 / 468.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003243/0.09429, allocations: 225.2 kB / 469.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.09432, allocations: 8 kB / 469.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.09433, allocations: 4 kB / 469.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.09435, allocations: 4 kB / 469.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.09451, allocations: 51.91 kB / 469.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.09453, allocations: 4 kB / 469.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.461e-05/0.09463, allocations: 8.062 kB / 469.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.09466, allocations: 15.98 kB / 469.2 MB, free: 11.27 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.0001521/0.09482, allocations: 165.9 kB / 469.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.09487, allocations: 15.81 kB / 469.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.09514, allocations: 163 kB / 469.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.09515, allocations: 0 / 469.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.09516, allocations: 4 kB / 469.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.09517, allocations: 0 / 469.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008353/0.09601, allocations: 0.6616 MB / 470.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.09603, allocations: 4 kB / 470.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.09613, allocations: 31.86 kB / 470.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.09615, allocations: 4 kB / 470.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.09617, allocations: 11.98 kB / 470.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.09618, allocations: 4 kB / 470.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.09619, allocations: 7.938 kB / 470.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003408/0.09654, allocations: 335.3 kB / 470.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.09661, allocations: 96.86 kB / 470.7 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.09666, allocations: 8 kB / 470.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.09678, allocations: 11.92 kB / 470.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.09684, allocations: 23.88 kB / 470.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.09687, allocations: 11.98 kB / 470.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.09699, allocations: 140.3 kB / 470.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09699, allocations: 0 / 470.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003502/0.09735, allocations: 48 kB / 470.9 MB, free: 9.352 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.0005797/0.09794, allocations: 0.8712 MB / 471.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.0982, allocations: 143.8 kB / 471.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.09821, allocations: 0 / 471.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.09833, allocations: 69.28 kB / 472 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.09878, allocations: 39 kB / 472 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.1009, allocations: 2.4 MB / 474.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1012, allocations: 0.7593 MB / 475.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.1014, allocations: 49.53 kB / 475.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.1015, allocations: 59.42 kB / 475.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1015, allocations: 0 / 475.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.241/1.342, allocations: 3.396 MB / 478.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/14.09, allocations: 11.88 kB / 478.7 MB, free: 1.285 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)