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.0008415/0.0008415, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009414/0.0009414, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8789/0.8789, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2086/0.2086, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 4 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.139e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.00356/0.003581, allocations: 3.867 MB / 434.1 MB, free: 9.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.005205, allocations: 1.725 MB / 435.8 MB, free: 7.996 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.005339, allocations: 11.94 kB / 435.8 MB, free: 7.984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006261/0.005965, allocations: 353 kB / 436.1 MB, free: 7.641 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000631/0.006596, allocations: 421.9 kB / 436.6 MB, free: 7.227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.006858, allocations: 147.5 kB / 436.7 MB, free: 7.082 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.007309, allocations: 498.5 kB / 437.2 MB, free: 6.594 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.007591, allocations: 171.4 kB / 437.4 MB, free: 6.426 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003792/0.007971, allocations: 295 kB / 437.6 MB, free: 6.137 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.008253, allocations: 219.4 kB / 437.9 MB, free: 5.922 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.008279, allocations: 20 kB / 437.9 MB, free: 5.902 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004776/0.008757, allocations: 394.7 kB / 438.3 MB, free: 5.516 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.008891, allocations: 167.5 kB / 438.4 MB, free: 5.352 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.008987, allocations: 111.8 kB / 438.5 MB, free: 5.242 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.009566, allocations: 0.5064 MB / 439 MB, free: 4.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.009569, allocations: 0 / 439 MB, free: 4.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.009571, allocations: 0 / 439 MB, free: 4.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.009578, allocations: 0 / 439 MB, free: 4.734 MB / 410.7 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.0006413/0.01022, allocations: 0.5283 MB / 439.6 MB, free: 4.176 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.01026, allocations: 11.98 kB / 439.6 MB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.472e-05/0.01031, allocations: 70.7 kB / 439.7 MB, free: 4.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/0.01099, allocations: 140.5 kB / 439.8 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.01129, allocations: 238.1 kB / 440 MB, free: 3.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.01131, allocations: 21.02 kB / 440 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.01135, allocations: 24.38 kB / 440.1 MB, free: 3.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.01181, allocations: 440.6 kB / 440.5 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.01183, allocations: 4.172 kB / 440.5 MB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.01185, allocations: 20.12 kB / 440.5 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.01189, allocations: 20.64 kB / 440.5 MB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.01231, allocations: 418.3 kB / 441 MB, free: 2.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.01376, allocations: 1.489 MB / 442.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.01403, allocations: 193 kB / 442.6 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.01416, allocations: 125.7 kB / 442.8 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.01418, allocations: 0 / 442.8 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.01421, allocations: 38.56 kB / 442.8 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.01421, allocations: 0 / 442.8 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001216/0.01543, allocations: 0.7153 MB / 443.5 MB, free: 52 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1575/0.1729, allocations: 82.52 kB / 443.6 MB, free: 54.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.1731, allocations: 210.2 kB / 443.8 MB, free: 54.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.1732, allocations: 31.11 kB / 443.8 MB, free: 54.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.1732, allocations: 187.9 kB / 444 MB, free: 54.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.1733, allocations: 80.75 kB / 444.1 MB, free: 54.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.1734, allocations: 57.36 kB / 444.1 MB, free: 54.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.713e-05/0.1734, allocations: 331.6 kB / 444.5 MB, free: 53.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.1735, allocations: 110.1 kB / 444.6 MB, free: 53.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1736, allocations: 204.3 kB / 444.8 MB, free: 53.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.1739, allocations: 352.4 kB / 445.1 MB, free: 53.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1739, allocations: 0 / 445.1 MB, free: 53.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000448/0.1743, allocations: 430 kB / 445.5 MB, free: 53.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1743, allocations: 6.062 kB / 445.5 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1743, allocations: 3.094 kB / 445.5 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.1746, allocations: 91.12 kB / 445.6 MB, free: 53.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.1747, allocations: 52.34 kB / 445.7 MB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.1758, allocations: 1.885 MB / 447.6 MB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.1759, allocations: 13.5 kB / 447.6 MB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.1759, allocations: 16.25 kB / 447.6 MB, free: 51.95 MB / 410.7 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.0001339/0.1761, allocations: 174.1 kB / 447.8 MB, free: 51.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.1761, allocations: 24.39 kB / 447.8 MB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.1765, allocations: 380.8 kB / 448.2 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1765, allocations: 4.781 kB / 448.2 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1765, allocations: 3.156 kB / 448.2 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1765, allocations: 6.938 kB / 448.2 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.1773, allocations: 0.8013 MB / 449 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.1773, allocations: 3.062 kB / 449 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.408e-05/0.1774, allocations: 49.05 kB / 449 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/0.1775, allocations: 68.38 kB / 449.1 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.1776, allocations: 6.609 kB / 449.1 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008776/0.1784, allocations: 1.789 MB / 450.9 MB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1784, allocations: 3.125 kB / 450.9 MB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.1788, allocations: 464.2 kB / 451.3 MB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.1788, allocations: 23.17 kB / 451.4 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1789, allocations: 14.19 kB / 451.4 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.1789, allocations: 6.062 kB / 451.4 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.179, allocations: 20.45 kB / 451.4 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.179, allocations: 5.969 kB / 451.4 MB, free: 49.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.31e-05/0.1791, allocations: 154.5 kB / 451.6 MB, free: 49.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1791, allocations: 0 / 451.6 MB, free: 49.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.1794, allocations: 86.78 kB / 451.7 MB, free: 49.2 MB / 410.7 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.0004647/0.1799, allocations: 0.998 MB / 452.6 MB, free: 48.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004331/0.1803, allocations: 407 kB / 453 MB, free: 48.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1803, allocations: 3.203 kB / 453 MB, free: 48.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.1805, allocations: 279.9 kB / 453.3 MB, free: 48.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.1807, allocations: 42.33 kB / 453.4 MB, free: 48.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.1829, allocations: 2.994 MB / 456.4 MB, free: 46.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.183, allocations: 197.7 kB / 456.6 MB, free: 45.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.653e-05/0.1831, allocations: 52.83 kB / 456.6 MB, free: 45.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.864e-05/0.1832, allocations: 85.27 kB / 456.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1832, allocations: 0 / 456.7 MB, free: 45.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.2005, allocations: 6.551 MB / 463.2 MB, free: 44.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.739/6.939, allocations: 0 / 463.2 MB, free: 44.58 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.728591105900705] Failed to read output from testmodel.py, exit status != 0: 7.023346135392785 7.030178718 7.019133342 Calling exit ...