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.001325/0.001325, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001458/0.001458, allocations: 213.7 kB / 23.73 MB, free: 4.16 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.68/1.68, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1835/0.1835, allocations: 38.54 MB / 352.5 MB, free: 12.31 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.002138/0.002138, allocations: 67.88 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3735, allocations: 62.47 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005456/0.379, allocations: 3.445 MB / 0.5453 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.3814, allocations: 1.427 MB / 0.5467 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.3816, allocations: 8.375 kB / 0.5467 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.3826, allocations: 248.7 kB / 0.5469 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006288/0.3832, allocations: 279.1 kB / 0.5472 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003392/0.3835, allocations: 126.2 kB / 0.5473 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.384, allocations: 355 kB / 0.5477 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.3843, allocations: 110.9 kB / 0.5478 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.3847, allocations: 167.9 kB / 0.5479 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.385, allocations: 157.7 kB / 0.5481 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.199e-05/0.385, allocations: 14.47 kB / 0.5481 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.3855, allocations: 276.3 kB / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.3857, allocations: 101.9 kB / 0.5485 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.3858, allocations: 90.5 kB / 0.5485 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.3864, allocations: 364.6 kB / 0.5489 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3864, allocations: 1.281 kB / 0.5489 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3864, allocations: 0 / 0.5489 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3864, allocations: 0 / 0.5489 GB, free: 11.07 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.0007547/0.3871, allocations: 452 kB / 0.5493 GB, free: 10.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3872, allocations: 13.86 kB / 0.5493 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.947e-05/0.3872, allocations: 58.19 kB / 0.5494 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009468/0.3882, allocations: 97.45 kB / 0.5495 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.3886, allocations: 212.6 kB / 0.5497 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.3886, allocations: 19.02 kB / 0.5497 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.3886, allocations: 19.84 kB / 0.5497 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.3892, allocations: 327.9 kB / 0.55 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3892, allocations: 1.594 kB / 0.55 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.3892, allocations: 5.594 kB / 0.55 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/0.3893, allocations: 21.77 kB / 0.5501 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.3898, allocations: 286.5 kB / 0.5503 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.3917, allocations: 1.195 MB / 0.5515 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.3921, allocations: 219.3 kB / 0.5517 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3923, allocations: 95.8 kB / 0.5518 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.3923, allocations: 5.953 kB / 0.5518 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.3923, allocations: 32.84 kB / 0.5518 GB, free: 8.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3923, allocations: 5.062 kB / 0.5518 GB, free: 8.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008645/0.3932, allocations: 450.6 kB / 0.5523 GB, free: 8.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.3932, allocations: 80.11 kB / 0.5524 GB, free: 8.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.3935, allocations: 201.2 kB / 0.5525 GB, free: 8.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.3935, allocations: 30.95 kB / 0.5526 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3936, allocations: 160.2 kB / 0.5527 GB, free: 8.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.3937, allocations: 63.11 kB / 0.5528 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.124e-05/0.3938, allocations: 52 kB / 0.5528 GB, free: 7.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3939, allocations: 327.5 kB / 0.5532 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.3941, allocations: 88.67 kB / 0.5532 GB, free: 7.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.3943, allocations: 162.7 kB / 0.5534 GB, free: 7.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.3946, allocations: 260.1 kB / 0.5536 GB, free: 7.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3946, allocations: 1.094 kB / 0.5536 GB, free: 7.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004699/0.3951, allocations: 298.4 kB / 0.5539 GB, free: 7.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3951, allocations: 6.094 kB / 0.5539 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3951, allocations: 10.34 kB / 0.5539 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3951, allocations: 3.344 kB / 0.5539 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.3954, allocations: 48.41 kB / 0.554 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.3954, allocations: 7.219 kB / 0.554 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.3955, allocations: 15.55 kB / 0.554 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.3956, allocations: 15.95 kB / 0.554 GB, free: 7.062 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.0001617/0.3957, allocations: 157.2 kB / 0.5542 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.3958, allocations: 16.59 kB / 0.5542 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004155/0.3962, allocations: 237.5 kB / 0.5544 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-06/0.3962, allocations: 2.031 kB / 0.5544 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3962, allocations: 1.188 kB / 0.5544 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3962, allocations: 1 kB / 0.5544 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.3976, allocations: 0.8991 MB / 0.5553 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.3976, allocations: 3.531 kB / 0.5553 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3978, allocations: 39.5 kB / 0.5553 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.3978, allocations: 8.562 kB / 0.5553 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.3978, allocations: 10 kB / 0.5554 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/0.3978, allocations: 13.66 kB / 0.5554 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.3978, allocations: 8.438 kB / 0.5554 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.3983, allocations: 418.8 kB / 0.5558 GB, free: 5.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.3983, allocations: 23.84 kB / 0.5558 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.3984, allocations: 15.94 kB / 0.5558 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.3985, allocations: 11.98 kB / 0.5558 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3986, allocations: 23.86 kB / 0.5559 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.3986, allocations: 11.98 kB / 0.5559 GB, free: 5.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.3988, allocations: 155 kB / 0.556 GB, free: 5.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3988, allocations: 0 / 0.556 GB, free: 5.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.3992, allocations: 52 kB / 0.5561 GB, free: 5.324 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.0008915/0.4001, allocations: 0.9365 MB / 0.557 GB, free: 4.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.4005, allocations: 219.8 kB / 0.5572 GB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4005, allocations: 0 / 0.5572 GB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.4007, allocations: 99.75 kB / 0.5573 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.4011, allocations: 40.8 kB / 0.5573 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.4046, allocations: 2.689 MB / 0.5599 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.4048, allocations: 152.2 kB / 0.5601 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.4049, allocations: 49.58 kB / 0.5601 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.4051, allocations: 71.34 kB / 0.5602 GB, free: 0.75 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4051, allocations: 4 kB / 0.5602 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.4371, allocations: 4.736 MB / 0.5648 GB, free: 12.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.53, allocations: 3.859 kB / 0.5648 GB, free: 12.12 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.55153869278729] Failed to read output from testmodel.py, exit status != 0: 11.662919268012047 11.680645062 11.290660509 Calling exit ...