Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001337/0.001337, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001611/0.001611, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 8 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.1912/0.1912, allocations: 38.54 MB / 352.5 MB, free: 12.52 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.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.002116/0.002116, allocations: 71.89 kB / 492.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3933, allocations: 62.48 MB / 0.542 GB, free: 296 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.00372/0.397, allocations: 2.155 MB / 0.5441 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009161/0.3979, allocations: 0.5654 MB / 0.5447 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.398, allocations: 1.625 kB / 0.5447 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.3981, allocations: 9.484 kB / 0.5447 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.36e-05/0.3982, allocations: 26.88 kB / 0.5447 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.3986, allocations: 80.3 kB / 0.5448 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.3988, allocations: 72.56 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.3988, allocations: 2.75 kB / 0.5449 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.399, allocations: 32.34 kB / 0.5449 GB, free: 14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.401e-05/0.399, allocations: 28.28 kB / 0.5449 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.399, allocations: 1.375 kB / 0.5449 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.3993, allocations: 129 kB / 0.545 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.3993, allocations: 26.33 kB / 0.5451 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.3994, allocations: 27.56 kB / 0.5451 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3996, allocations: 139.1 kB / 0.5452 GB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3996, allocations: 0 / 0.5452 GB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3996, allocations: 1.531 kB / 0.5452 GB, free: 13.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.3997, allocations: 0 / 0.5452 GB, free: 13.78 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004971/0.4002, allocations: 366.8 kB / 0.5456 GB, free: 13.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4002, allocations: 13.67 kB / 0.5456 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.505e-05/0.4003, allocations: 39.11 kB / 0.5456 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.4003, allocations: 12.12 kB / 0.5456 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.4005, allocations: 135.2 kB / 0.5458 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.4005, allocations: 9.469 kB / 0.5458 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.4005, allocations: 5 kB / 0.5458 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.4007, allocations: 91.91 kB / 0.5459 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.4007, allocations: 0 / 0.5459 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.4007, allocations: 0 / 0.5459 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.4007, allocations: 1.281 kB / 0.5459 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.503e-05/0.4008, allocations: 54.39 kB / 0.5459 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.401, allocations: 155.4 kB / 0.5461 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.4011, allocations: 86.42 kB / 0.5461 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.949e-05/0.4012, allocations: 59.06 kB / 0.5462 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.4012, allocations: 0 / 0.5462 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.4012, allocations: 35.77 kB / 0.5462 GB, free: 12.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 8.32e-07/0.4012, allocations: 3.938 kB / 0.5462 GB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004883/0.4017, allocations: 298.8 kB / 0.5465 GB, free: 12.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.4018, allocations: 99.56 kB / 0.5466 GB, free: 12.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.4019, allocations: 130.4 kB / 0.5467 GB, free: 12.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.4019, allocations: 29.73 kB / 0.5468 GB, free: 12.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.402, allocations: 95.31 kB / 0.5469 GB, free: 12.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.4021, allocations: 76.95 kB / 0.5469 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.4021, allocations: 23.34 kB / 0.547 GB, free: 12.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4023, allocations: 328.3 kB / 0.5473 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.4024, allocations: 58.38 kB / 0.5473 GB, free: 11.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.4024, allocations: 57.72 kB / 0.5474 GB, free: 11.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.4027, allocations: 248.2 kB / 0.5476 GB, free: 11.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4027, allocations: 7.969 kB / 0.5476 GB, free: 11.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002595/0.403, allocations: 226.5 kB / 0.5478 GB, free: 11.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.403, allocations: 63.78 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.403, allocations: 0 / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4031, allocations: 1.062 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.176e-06/0.4031, allocations: 4 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4031, allocations: 1.188 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.4031, allocations: 12.86 kB / 0.5479 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.4031, allocations: 8.281 kB / 0.5479 GB, free: 11.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001877/0.4033, allocations: 201.9 kB / 0.5481 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.4033, allocations: 16.44 kB / 0.5481 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.4034, allocations: 11.72 kB / 0.5481 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4034, allocations: 1.062 kB / 0.5481 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4034, allocations: 0 / 0.5481 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4034, allocations: 0 / 0.5481 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.4035, allocations: 177 kB / 0.5483 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4035, allocations: 0 / 0.5483 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.4035, allocations: 0 / 0.5483 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4035, allocations: 1.094 kB / 0.5483 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.4035, allocations: 8.062 kB / 0.5483 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.4035, allocations: 4 kB / 0.5483 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4035, allocations: 1.344 kB / 0.5483 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.4042, allocations: 0.5043 MB / 0.5488 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.4042, allocations: 15.75 kB / 0.5488 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.4042, allocations: 9.328 kB / 0.5488 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.583e-05/0.4043, allocations: 2.969 kB / 0.5489 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.4043, allocations: 9.5 kB / 0.5489 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.4043, allocations: 9.062 kB / 0.5489 GB, free: 10.94 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.962e-05/0.4044, allocations: 105.8 kB / 0.549 GB, free: 10.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4044, allocations: 0 / 0.549 GB, free: 10.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000254/0.4046, allocations: 49.31 kB / 0.549 GB, free: 10.85 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001109/0.4058, allocations: 1.051 MB / 0.55 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005911/0.4063, allocations: 454.8 kB / 0.5505 GB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4064, allocations: 0 / 0.5505 GB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.4067, allocations: 320.3 kB / 0.5508 GB, free: 9.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.4069, allocations: 20.2 kB / 0.5508 GB, free: 9.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.4099, allocations: 2.485 MB / 0.5532 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.4103, allocations: 0.7225 MB / 0.5539 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.41e-05/0.4103, allocations: 2.281 kB / 0.5539 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.4103, allocations: 28.53 kB / 0.554 GB, free: 7.312 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4103, allocations: 0 / 0.554 GB, free: 7.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.4449, allocations: 3.834 MB / 0.5577 GB, free: 3.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.7, allocations: 15.8 kB / 0.5577 GB, free: 3.91 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.537894238950685] Failed to read output from testmodel.py, exit status != 0: 11.805019896943122 11.828640716 11.425251742 Calling exit ...