Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.001377/0.001377, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002921/0.002921, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.575/1.575, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.1945/0.1945, allocations: 38.52 MB / 352.5 MB, free: 12.56 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.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",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.002268/0.002268, allocations: 62.84 kB / 492.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4034, allocations: 62.46 MB / 0.542 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005311/0.4087, allocations: 3.608 MB / 0.5455 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.411, allocations: 1.56 MB / 0.547 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.4111, allocations: 9.344 kB / 0.547 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008454/0.412, allocations: 263.1 kB / 0.5473 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006354/0.4126, allocations: 281.5 kB / 0.5476 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.413, allocations: 131.3 kB / 0.5477 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.4134, allocations: 338.7 kB / 0.548 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.4137, allocations: 123 kB / 0.5481 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.414, allocations: 164.4 kB / 0.5483 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.4143, allocations: 169.7 kB / 0.5484 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.4143, allocations: 14.59 kB / 0.5485 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005927/0.4149, allocations: 337.8 kB / 0.5488 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.4151, allocations: 102.7 kB / 0.5489 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.4152, allocations: 105.3 kB / 0.549 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005901/0.4158, allocations: 366 kB / 0.5493 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4158, allocations: 1.281 kB / 0.5493 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4158, allocations: 0 / 0.5493 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.4158, allocations: 0 / 0.5493 GB, free: 11.05 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.0007646/0.4166, allocations: 454.8 kB / 0.5498 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4166, allocations: 13.92 kB / 0.5498 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.4167, allocations: 61.52 kB / 0.5498 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009405/0.4177, allocations: 93.62 kB / 0.5499 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.4181, allocations: 209.1 kB / 0.5501 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.4181, allocations: 24.2 kB / 0.5501 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.4182, allocations: 14.84 kB / 0.5502 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.4188, allocations: 330.2 kB / 0.5505 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.4188, allocations: 4 kB / 0.5505 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.4188, allocations: 6.594 kB / 0.5505 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/0.4188, allocations: 22.39 kB / 0.5505 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000464/0.4193, allocations: 288.1 kB / 0.5508 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.4213, allocations: 1.23 MB / 0.552 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.4218, allocations: 228.4 kB / 0.5522 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.422, allocations: 91.3 kB / 0.5523 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.422, allocations: 1.344 kB / 0.5523 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.4221, allocations: 41.03 kB / 0.5523 GB, free: 8.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.4221, allocations: 0 / 0.5523 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009296/0.423, allocations: 451 kB / 0.5528 GB, free: 8.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.4231, allocations: 79.23 kB / 0.5528 GB, free: 8.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.4233, allocations: 202.6 kB / 0.553 GB, free: 8.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.4233, allocations: 25.7 kB / 0.5531 GB, free: 8.121 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4235, allocations: 164 kB / 0.5532 GB, free: 7.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.4235, allocations: 62.69 kB / 0.5533 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.504e-05/0.4236, allocations: 44.55 kB / 0.5533 GB, free: 7.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4238, allocations: 335.3 kB / 0.5536 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.424, allocations: 88.11 kB / 0.5537 GB, free: 7.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.4242, allocations: 156.9 kB / 0.5539 GB, free: 7.375 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.4246, allocations: 261.8 kB / 0.5541 GB, free: 7.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4246, allocations: 5.312 kB / 0.5541 GB, free: 7.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005256/0.4251, allocations: 301.6 kB / 0.5544 GB, free: 7.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.4252, allocations: 6.188 kB / 0.5544 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4252, allocations: 6.25 kB / 0.5544 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.4252, allocations: 4.438 kB / 0.5544 GB, free: 7.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.4255, allocations: 55.62 kB / 0.5545 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.4255, allocations: 11.72 kB / 0.5545 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.4257, allocations: 11.08 kB / 0.5545 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.4257, allocations: 11.84 kB / 0.5545 GB, free: 6.984 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.0002067/0.4259, allocations: 153.7 kB / 0.5547 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.426, allocations: 15.94 kB / 0.5547 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005008/0.4265, allocations: 233 kB / 0.5549 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4265, allocations: 2.281 kB / 0.5549 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.4265, allocations: 1.125 kB / 0.5549 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.4265, allocations: 7.984 kB / 0.5549 GB, free: 6.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.4283, allocations: 0.9138 MB / 0.5558 GB, free: 5.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.4283, allocations: 7.719 kB / 0.5558 GB, free: 5.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.4285, allocations: 42.28 kB / 0.5558 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.4285, allocations: 5.75 kB / 0.5559 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.4285, allocations: 13.59 kB / 0.5559 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.4286, allocations: 4.719 kB / 0.5559 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/0.4286, allocations: 16.45 kB / 0.5559 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.4291, allocations: 417.9 kB / 0.5563 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.4291, allocations: 19.91 kB / 0.5563 GB, free: 5.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.4291, allocations: 19.86 kB / 0.5563 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.4293, allocations: 12 kB / 0.5563 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.4294, allocations: 31.84 kB / 0.5564 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4294, allocations: 8 kB / 0.5564 GB, free: 5.465 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.4295, allocations: 147 kB / 0.5565 GB, free: 5.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4295, allocations: 0 / 0.5565 GB, free: 5.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.4299, allocations: 56 kB / 0.5566 GB, free: 5.266 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.000783/0.4307, allocations: 0.9327 MB / 0.5575 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.4311, allocations: 215.5 kB / 0.5577 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4311, allocations: 7.938 kB / 0.5577 GB, free: 4.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.4312, allocations: 93.02 kB / 0.5578 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.4317, allocations: 54.48 kB / 0.5578 GB, free: 3.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.4359, allocations: 2.688 MB / 0.5605 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.4364, allocations: 0.7632 MB / 0.5612 GB, free: 188 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.4366, allocations: 53.58 kB / 0.5612 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.4367, allocations: 63.42 kB / 0.5613 GB, free: 68 kB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4367, allocations: 0 / 0.5613 GB, free: 68 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/0.4698, allocations: 4.441 MB / 0.5656 GB, free: 11.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.46, allocations: 11.92 kB / 0.5657 GB, free: 11.73 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.376213497947901] Failed to read output from testmodel.py, exit status != 0: 11.565600460860878 11.580976236 11.161712667 Calling exit ...