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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1854/0.1854, allocations: 38.49 MB / 342.5 MB, free: 8.07 MB / 270.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 68.14 kB / 478.6 MB, free: 33.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.1011, allocations: 61.24 MB / 0.5272 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005168/0.1062, allocations: 3.462 MB / 0.5306 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1084, allocations: 1.461 MB / 0.532 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1086, allocations: 4 kB / 0.532 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008488/0.1094, allocations: 270.7 kB / 0.5323 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006477/0.1101, allocations: 279 kB / 0.5325 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.1103, allocations: 111.7 kB / 0.5326 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.1109, allocations: 346.9 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.1112, allocations: 105.9 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.1114, allocations: 155.4 kB / 0.5332 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.1118, allocations: 171.4 kB / 0.5334 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.1118, allocations: 16 kB / 0.5334 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.1123, allocations: 315.2 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.1124, allocations: 103.7 kB / 0.5338 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1126, allocations: 107.5 kB / 0.5339 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.113, allocations: 346.8 kB / 0.5342 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.113, allocations: 4 kB / 0.5342 GB, free: 10.19 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1131, allocations: 0 / 0.5342 GB, free: 10.19 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1131, allocations: 3.938 kB / 0.5342 GB, free: 10.18 MB / 398.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.0007461/0.1138, allocations: 0.5099 MB / 0.5347 GB, free: 9.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1138, allocations: 11.89 kB / 0.5347 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.1139, allocations: 62.72 kB / 0.5348 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000958/0.1149, allocations: 92.69 kB / 0.5349 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.1153, allocations: 260.6 kB / 0.5351 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.1153, allocations: 20.31 kB / 0.5352 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.1153, allocations: 19.92 kB / 0.5352 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.1159, allocations: 310.4 kB / 0.5355 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1159, allocations: 0 / 0.5355 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.1159, allocations: 11.94 kB / 0.5355 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-05/0.116, allocations: 19.98 kB / 0.5355 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.1165, allocations: 287.7 kB / 0.5358 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002011/0.1185, allocations: 1.289 MB / 0.537 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.1189, allocations: 234.2 kB / 0.5373 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.374e-05/0.119, allocations: 49.7 kB / 0.5373 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.119, allocations: 4 kB / 0.5373 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.1191, allocations: 38.55 kB / 0.5373 GB, free: 6.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 3.737e-06/0.1191, allocations: 4.031 kB / 0.5374 GB, free: 6.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006589/0.1197, allocations: 293 kB / 0.5376 GB, free: 6.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.1198, allocations: 81.11 kB / 0.5377 GB, free: 6.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.1201, allocations: 194.2 kB / 0.5379 GB, free: 6.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1201, allocations: 33.7 kB / 0.5379 GB, free: 6.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1202, allocations: 160.2 kB / 0.5381 GB, free: 5.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.1203, allocations: 51.66 kB / 0.5381 GB, free: 5.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.1204, allocations: 45.7 kB / 0.5382 GB, free: 5.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.1206, allocations: 330.8 kB / 0.5385 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-05/0.1207, allocations: 47.97 kB / 0.5385 GB, free: 5.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.1208, allocations: 147.2 kB / 0.5387 GB, free: 5.254 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.1211, allocations: 216.7 kB / 0.5389 GB, free: 4.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1212, allocations: 4 kB / 0.5389 GB, free: 4.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003777/0.1215, allocations: 221.2 kB / 0.5391 GB, free: 4.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1216, allocations: 12.42 kB / 0.5391 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.1216, allocations: 8 kB / 0.5391 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1216, allocations: 7.938 kB / 0.5391 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.1218, allocations: 47.92 kB / 0.5392 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1218, allocations: 4 kB / 0.5392 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.1219, allocations: 4 kB / 0.5392 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.1219, allocations: 15.98 kB / 0.5392 GB, free: 4.672 MB / 398.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.0001732/0.1221, allocations: 157.6 kB / 0.5393 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.1221, allocations: 19.86 kB / 0.5394 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.1225, allocations: 163.1 kB / 0.5395 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1225, allocations: 7.938 kB / 0.5395 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1225, allocations: 0 / 0.5395 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1225, allocations: 0 / 0.5395 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.1235, allocations: 0.6612 MB / 0.5402 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.1235, allocations: 4 kB / 0.5402 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.1236, allocations: 31.86 kB / 0.5402 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.1236, allocations: 4.438 kB / 0.5402 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1237, allocations: 12 kB / 0.5402 GB, free: 3.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.1237, allocations: 4 kB / 0.5402 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.1237, allocations: 7.938 kB / 0.5402 GB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.1241, allocations: 343.3 kB / 0.5406 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1242, allocations: 96.95 kB / 0.5407 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.1242, allocations: 11.98 kB / 0.5407 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1244, allocations: 4 kB / 0.5407 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.1244, allocations: 23.86 kB / 0.5407 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1244, allocations: 8 kB / 0.5407 GB, free: 2.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001405/0.1246, allocations: 148.3 kB / 0.5408 GB, free: 2.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1246, allocations: 0 / 0.5408 GB, free: 2.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003837/0.1249, allocations: 40 kB / 0.5409 GB, free: 2.754 MB / 398.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.00084/0.1258, allocations: 0.8724 MB / 0.5417 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.1261, allocations: 136.4 kB / 0.5419 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1261, allocations: 4.125 kB / 0.5419 GB, free: 1.676 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1262, allocations: 67.78 kB / 0.5419 GB, free: 1.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.1267, allocations: 42.83 kB / 0.542 GB, free: 1.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.1299, allocations: 2.403 MB / 0.5443 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.1305, allocations: 0.7709 MB / 0.5451 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.1306, allocations: 45.5 kB / 0.5451 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1307, allocations: 55.41 kB / 0.5452 GB, free: 14.02 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1307, allocations: 0 / 0.5452 GB, free: 14.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.1581, allocations: 3.539 MB / 0.5486 GB, free: 10.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.258, allocations: 4.203 kB / 0.5486 GB, free: 10.56 MB / 414.1 MB " [Timeout remaining time 652] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.990978530142456] Failed to read output from testmodel.py, exit status != 0: 8.329043061938137 8.353991425 8.236379398 Calling exit ...