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.001617/0.001617, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001407/0.001407, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.1937/0.1937, allocations: 38.54 MB / 353.2 MB, free: 12.32 MB / 286.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.002037/0.002037, allocations: 66.39 kB / 493.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3233, allocations: 62.47 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005513/0.3288, allocations: 3.891 MB / 0.5465 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002641/0.3314, allocations: 1.716 MB / 0.5482 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.3316, allocations: 10.56 kB / 0.5482 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.3326, allocations: 361.2 kB / 0.5485 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000819/0.3334, allocations: 412.6 kB / 0.5489 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3338, allocations: 141.7 kB / 0.5491 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005747/0.3343, allocations: 493.6 kB / 0.5495 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.3347, allocations: 166.5 kB / 0.5497 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.335, allocations: 235.3 kB / 0.5499 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.3354, allocations: 243.2 kB / 0.5501 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.3354, allocations: 21.53 kB / 0.5502 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.336, allocations: 381 kB / 0.5505 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.3362, allocations: 155.6 kB / 0.5507 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.3364, allocations: 134 kB / 0.5508 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.3371, allocations: 0.4968 MB / 0.5513 GB, free: 9.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3371, allocations: 0 / 0.5513 GB, free: 9.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3371, allocations: 5.156 kB / 0.5513 GB, free: 9.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3371, allocations: 0 / 0.5513 GB, free: 9.898 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008673/0.3379, allocations: 0.521 MB / 0.5518 GB, free: 9.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.338, allocations: 13.3 kB / 0.5518 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.823e-05/0.338, allocations: 7.688 kB / 0.5518 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/0.3381, allocations: 65.72 kB / 0.5519 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.3393, allocations: 133.4 kB / 0.552 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.3397, allocations: 245.4 kB / 0.5522 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.3398, allocations: 24.33 kB / 0.5523 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.707e-05/0.3398, allocations: 24.78 kB / 0.5523 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.3406, allocations: 444.1 kB / 0.5527 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.3406, allocations: 13.31 kB / 0.5527 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.3406, allocations: 6.531 kB / 0.5527 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.3407, allocations: 26.42 kB / 0.5528 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006706/0.3414, allocations: 425.4 kB / 0.5532 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.3437, allocations: 1.475 MB / 0.5546 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.3441, allocations: 191.5 kB / 0.5548 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.3443, allocations: 123.4 kB / 0.5549 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.3443, allocations: 1.906 kB / 0.5549 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.3444, allocations: 37.78 kB / 0.5549 GB, free: 7.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.3444, allocations: 0 / 0.5549 GB, free: 7.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001855/0.3462, allocations: 0.7198 MB / 0.5557 GB, free: 6.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.3463, allocations: 83.95 kB / 0.5557 GB, free: 6.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.3465, allocations: 216.8 kB / 0.5559 GB, free: 6.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.3465, allocations: 29.7 kB / 0.556 GB, free: 6.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3467, allocations: 192.3 kB / 0.5561 GB, free: 6.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.3468, allocations: 83.28 kB / 0.5562 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3469, allocations: 61.91 kB / 0.5563 GB, free: 6.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.347, allocations: 334.8 kB / 0.5566 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.3472, allocations: 100.5 kB / 0.5567 GB, free: 5.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.3475, allocations: 216.9 kB / 0.5569 GB, free: 5.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.348, allocations: 342.2 kB / 0.5572 GB, free: 5.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.348, allocations: 4 kB / 0.5572 GB, free: 5.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008066/0.3488, allocations: 429.5 kB / 0.5576 GB, free: 4.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3488, allocations: 8.031 kB / 0.5577 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3488, allocations: 4 kB / 0.5577 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004092/0.3492, allocations: 84.8 kB / 0.5577 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.3494, allocations: 55.89 kB / 0.5578 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.3518, allocations: 1.894 MB / 0.5596 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.3519, allocations: 16.02 kB / 0.5597 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.352, allocations: 12 kB / 0.5597 GB, free: 2.398 MB / 398.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.000224/0.3522, allocations: 173.7 kB / 0.5598 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.3523, allocations: 23.86 kB / 0.5599 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007801/0.353, allocations: 384.1 kB / 0.5602 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.353, allocations: 4 kB / 0.5602 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.353, allocations: 4 kB / 0.5602 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3531, allocations: 0 / 0.5602 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.3546, allocations: 0.8111 MB / 0.561 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3546, allocations: 0 / 0.561 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.3547, allocations: 35.92 kB / 0.5611 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/0.355, allocations: 72.78 kB / 0.5611 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.355, allocations: 4.188 kB / 0.5611 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.357, allocations: 1.793 MB / 0.5629 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.357, allocations: 8.016 kB / 0.5629 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007363/0.3578, allocations: 463.2 kB / 0.5633 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.3578, allocations: 23.92 kB / 0.5634 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.3578, allocations: 8 kB / 0.5634 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.358, allocations: 11.98 kB / 0.5634 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.3581, allocations: 31.7 kB / 0.5634 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.3581, allocations: 8 kB / 0.5634 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.3582, allocations: 147.2 kB / 0.5636 GB, free: 14.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3582, allocations: 0 / 0.5636 GB, free: 14.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005324/0.3588, allocations: 84 kB / 0.5636 GB, free: 14.11 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.001057/0.3598, allocations: 0.9966 MB / 0.5646 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007818/0.3606, allocations: 411.1 kB / 0.565 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3606, allocations: 0 / 0.565 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.3611, allocations: 274.5 kB / 0.5653 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3615, allocations: 46.81 kB / 0.5653 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.3658, allocations: 3.019 MB / 0.5683 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.366, allocations: 193.6 kB / 0.5684 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001432/0.3661, allocations: 58.03 kB / 0.5685 GB, free: 8.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.3663, allocations: 83.41 kB / 0.5686 GB, free: 8.789 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3663, allocations: 0 / 0.5686 GB, free: 8.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.3986, allocations: 6.148 MB / 0.5746 GB, free: 2.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.51, allocations: 4.203 kB / 0.5746 GB, free: 2.785 MB / 414.1 MB " [Timeout remaining time 647] (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: 15.396904666093178] Failed to read output from testmodel.py, exit status != 0: 12.68785853299778 12.712218663 12.371654773 Calling exit ...