Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 120.1 kB / 18.49 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 215 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 254.8 MB, free: 15.26 MB / 206.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.1875/0.1875, allocations: 38.51 MB / 349.4 MB, free: 2.617 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 68.91 kB / 487.8 MB, free: 32.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1103, allocations: 62.42 MB / 0.5374 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.006173/0.1164, allocations: 3.993 MB / 0.5413 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.1192, allocations: 1.87 MB / 0.5431 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.1194, allocations: 11.88 kB / 0.5431 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1205, allocations: 378.1 kB / 0.5435 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009505/0.1214, allocations: 402.5 kB / 0.5438 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.1218, allocations: 143.6 kB / 0.544 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.1225, allocations: 498.6 kB / 0.5445 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.1229, allocations: 171 kB / 0.5446 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004806/0.1233, allocations: 231.1 kB / 0.5448 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.1238, allocations: 247.1 kB / 0.5451 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.1238, allocations: 20 kB / 0.5451 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.1246, allocations: 462.8 kB / 0.5455 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.1248, allocations: 155.6 kB / 0.5457 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.125, allocations: 151.3 kB / 0.5458 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007145/0.1257, allocations: 0.4944 MB / 0.5463 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1257, allocations: 0 / 0.5463 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1257, allocations: 0 / 0.5463 GB, free: 352 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1257, allocations: 0 / 0.5463 GB, free: 352 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001008/0.1268, allocations: 0.6075 MB / 0.5469 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1268, allocations: 8.031 kB / 0.5469 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.766e-05/0.1268, allocations: 8.75 kB / 0.5469 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.989e-05/0.1269, allocations: 70.7 kB / 0.547 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.1281, allocations: 132.6 kB / 0.5471 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.1285, allocations: 295.8 kB / 0.5474 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.1286, allocations: 20.92 kB / 0.5474 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.1286, allocations: 28.36 kB / 0.5474 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.1294, allocations: 443.6 kB / 0.5479 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.1294, allocations: 11.94 kB / 0.5479 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.1295, allocations: 8 kB / 0.5479 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/0.1295, allocations: 24.55 kB / 0.5479 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.1302, allocations: 429.9 kB / 0.5483 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.1328, allocations: 1.706 MB / 0.55 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.1332, allocations: 270.1 kB / 0.5502 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.1334, allocations: 121.7 kB / 0.5504 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.1334, allocations: 11.98 kB / 0.5504 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.1334, allocations: 34.94 kB / 0.5504 GB, free: 11.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.854e-06/0.1334, allocations: 0 / 0.5504 GB, free: 11.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001873/0.1353, allocations: 0.7899 MB / 0.5512 GB, free: 11.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.1354, allocations: 89.05 kB / 0.5513 GB, free: 10.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.1356, allocations: 214.7 kB / 0.5515 GB, free: 10.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1356, allocations: 25.7 kB / 0.5515 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1357, allocations: 192.4 kB / 0.5517 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/0.1358, allocations: 83.27 kB / 0.5517 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.1359, allocations: 65.91 kB / 0.5518 GB, free: 10.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1361, allocations: 330.8 kB / 0.5521 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.1363, allocations: 108.5 kB / 0.5522 GB, free: 9.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.1365, allocations: 201.1 kB / 0.5524 GB, free: 9.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.137, allocations: 342.8 kB / 0.5527 GB, free: 9.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.137, allocations: 3.938 kB / 0.5528 GB, free: 9.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008441/0.1378, allocations: 433.7 kB / 0.5532 GB, free: 8.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1379, allocations: 4 kB / 0.5532 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1379, allocations: 4 kB / 0.5532 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000436/0.1383, allocations: 85.17 kB / 0.5533 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.1386, allocations: 59.89 kB / 0.5533 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.1409, allocations: 1.998 MB / 0.5553 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.1411, allocations: 19.98 kB / 0.5553 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.1411, allocations: 8 kB / 0.5553 GB, free: 6.523 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000208/0.1413, allocations: 193.5 kB / 0.5555 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.912e-05/0.1414, allocations: 23.86 kB / 0.5555 GB, free: 6.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000778/0.1422, allocations: 383.9 kB / 0.5559 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1422, allocations: 0 / 0.5559 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1422, allocations: 4 kB / 0.5559 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1422, allocations: 3.984 kB / 0.5559 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.1437, allocations: 0.9063 MB / 0.5568 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1437, allocations: 0 / 0.5568 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.1439, allocations: 39.91 kB / 0.5568 GB, free: 4.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002864/0.1442, allocations: 72.86 kB / 0.5569 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.1442, allocations: 4.188 kB / 0.5569 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.1463, allocations: 1.912 MB / 0.5587 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1463, allocations: 8.094 kB / 0.5587 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.147, allocations: 455.1 kB / 0.5592 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.1471, allocations: 101 kB / 0.5593 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.1471, allocations: 11.97 kB / 0.5593 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.1473, allocations: 8 kB / 0.5593 GB, free: 2.133 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.1473, allocations: 35.7 kB / 0.5593 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.1474, allocations: 4 kB / 0.5593 GB, free: 2.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.1475, allocations: 152.6 kB / 0.5595 GB, free: 1.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1475, allocations: 0 / 0.5595 GB, free: 1.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005231/0.148, allocations: 80 kB / 0.5595 GB, free: 1.867 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.149, allocations: 0.9927 MB / 0.5605 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008141/0.1499, allocations: 413.1 kB / 0.5609 GB, free: 432 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1499, allocations: 4.75 kB / 0.5609 GB, free: 428 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004414/0.1503, allocations: 274.6 kB / 0.5612 GB, free: 140 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1507, allocations: 46.48 kB / 0.5612 GB, free: 96 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.1549, allocations: 3.014 MB / 0.5642 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.1554, allocations: 0.8102 MB / 0.565 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.1556, allocations: 54.03 kB / 0.565 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.1558, allocations: 87.41 kB / 0.5651 GB, free: 11.92 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1558, allocations: 0 / 0.5651 GB, free: 11.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.1933, allocations: 5.83 MB / 0.5708 GB, free: 6.219 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.8, allocations: 4 kB / 0.5708 GB, free: 6.215 MB / 430.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.767104658996686] Failed to read output from testmodel.py, exit status != 0: 10.947880056046415 10.973055488 10.842625997 Calling exit ...