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.001335/0.001335, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001502/0.001502, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.626/1.626, allocations: 230.6 MB / 257.5 MB, free: 8.043 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.1957/0.1957, allocations: 38.53 MB / 352.5 MB, free: 12.57 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="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: 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.002107/0.002107, allocations: 66.41 kB / 492.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3968, allocations: 62.48 MB / 0.542 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.006633/0.4035, allocations: 4.09 MB / 0.546 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.4069, allocations: 1.885 MB / 0.5478 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.4072, allocations: 9.75 kB / 0.5478 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.4086, allocations: 380.8 kB / 0.5482 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.4097, allocations: 408.5 kB / 0.5486 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.4102, allocations: 141 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007185/0.4109, allocations: 489 kB / 0.5492 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.4113, allocations: 174.8 kB / 0.5494 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.4117, allocations: 228 kB / 0.5496 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.4121, allocations: 251.5 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.4122, allocations: 20.25 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009065/0.4131, allocations: 467.9 kB / 0.5503 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.4133, allocations: 156.2 kB / 0.5504 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.4135, allocations: 150.6 kB / 0.5506 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000911/0.4144, allocations: 0.4998 MB / 0.5511 GB, free: 9.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4144, allocations: 0 / 0.5511 GB, free: 9.598 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4144, allocations: 1.344 kB / 0.5511 GB, free: 9.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.4144, allocations: 3.938 kB / 0.5511 GB, free: 9.594 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.0009906/0.4154, allocations: 0.5208 MB / 0.5516 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.4155, allocations: 12.86 kB / 0.5516 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.4156, allocations: 69.25 kB / 0.5517 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.4168, allocations: 138.5 kB / 0.5518 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.4173, allocations: 241 kB / 0.552 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.4173, allocations: 19 kB / 0.552 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/0.4174, allocations: 29.55 kB / 0.5521 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007852/0.4182, allocations: 442.3 kB / 0.5525 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.4182, allocations: 1.219 kB / 0.5525 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.4182, allocations: 14.25 kB / 0.5525 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/0.4183, allocations: 22.25 kB / 0.5525 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.4191, allocations: 427 kB / 0.5529 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.4216, allocations: 1.647 MB / 0.5545 GB, free: 6.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.422, allocations: 198.3 kB / 0.5547 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.4222, allocations: 118.4 kB / 0.5548 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.4223, allocations: 7.875 kB / 0.5548 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.4223, allocations: 40.25 kB / 0.5549 GB, free: 6.637 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.4223, allocations: 0 / 0.5549 GB, free: 6.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.002153/0.4245, allocations: 0.7164 MB / 0.5556 GB, free: 6.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.4246, allocations: 80.36 kB / 0.5557 GB, free: 6.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.4248, allocations: 213.9 kB / 0.5559 GB, free: 5.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.4249, allocations: 30.77 kB / 0.5559 GB, free: 5.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.4251, allocations: 195.8 kB / 0.5561 GB, free: 5.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.4251, allocations: 81.31 kB / 0.5562 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4252, allocations: 59.36 kB / 0.5562 GB, free: 5.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4254, allocations: 330.8 kB / 0.5565 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.4256, allocations: 104.5 kB / 0.5566 GB, free: 5.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.4258, allocations: 209 kB / 0.5568 GB, free: 4.969 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.4263, allocations: 346.9 kB / 0.5572 GB, free: 4.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4263, allocations: 7.938 kB / 0.5572 GB, free: 4.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007795/0.4271, allocations: 430 kB / 0.5576 GB, free: 4.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.4271, allocations: 11.19 kB / 0.5576 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.4271, allocations: 4 kB / 0.5576 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004051/0.4275, allocations: 88.73 kB / 0.5577 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.4277, allocations: 55.89 kB / 0.5577 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.43, allocations: 1.906 MB / 0.5596 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.4303, allocations: 15.98 kB / 0.5596 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.4303, allocations: 8 kB / 0.5596 GB, free: 1.957 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.0002605/0.4306, allocations: 173.7 kB / 0.5598 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.4306, allocations: 23.86 kB / 0.5598 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008301/0.4314, allocations: 388.1 kB / 0.5602 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4314, allocations: 0 / 0.5602 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4315, allocations: 4 kB / 0.5602 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4315, allocations: 0 / 0.5602 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.4331, allocations: 0.8742 MB / 0.561 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4331, allocations: 3.938 kB / 0.561 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.4333, allocations: 43.91 kB / 0.5611 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.4335, allocations: 68.8 kB / 0.5611 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.4336, allocations: 0 / 0.5611 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.4356, allocations: 1.816 MB / 0.5629 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4356, allocations: 0 / 0.5629 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007244/0.4364, allocations: 468 kB / 0.5634 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.4364, allocations: 23.86 kB / 0.5634 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.4365, allocations: 7.984 kB / 0.5634 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.4366, allocations: 8 kB / 0.5634 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.4367, allocations: 31.75 kB / 0.5634 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.4367, allocations: 8 kB / 0.5634 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.4368, allocations: 147.2 kB / 0.5636 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4368, allocations: 0 / 0.5636 GB, free: 13.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005264/0.4373, allocations: 80 kB / 0.5637 GB, free: 13.57 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.00106/0.4384, allocations: 0.9888 MB / 0.5646 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008432/0.4392, allocations: 419.6 kB / 0.565 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4392, allocations: 0 / 0.565 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.4397, allocations: 276.7 kB / 0.5653 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.4401, allocations: 30.56 kB / 0.5653 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.4443, allocations: 3.034 MB / 0.5683 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.4448, allocations: 0.8023 MB / 0.5691 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.445, allocations: 49.95 kB / 0.5691 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.4451, allocations: 91.39 kB / 0.5692 GB, free: 7.633 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4451, allocations: 0 / 0.5692 GB, free: 7.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/0.4827, allocations: 6.045 MB / 0.5751 GB, free: 1.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.18, allocations: 10.81 kB / 0.5751 GB, free: 1.703 MB / 414.1 MB " [Timeout remaining time 648] (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.181168746901676] Failed to read output from testmodel.py, exit status != 0: 12.285672686994076 12.301848395 11.884032241 Calling exit ...