Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001286/0.001286, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001556/0.001556, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.1916/0.1916, allocations: 38.52 MB / 353.2 MB, free: 12.51 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_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.002062/0.002062, allocations: 79.02 kB / 493.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4122, allocations: 62.46 MB / 0.5428 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003872/0.4161, allocations: 2.166 MB / 0.5449 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009594/0.417, allocations: 0.5584 MB / 0.5454 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.4171, allocations: 0 / 0.5454 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.4173, allocations: 14.67 kB / 0.5454 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.4174, allocations: 33.33 kB / 0.5455 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.4178, allocations: 76.88 kB / 0.5456 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.4179, allocations: 62.02 kB / 0.5456 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.418, allocations: 2.5 kB / 0.5456 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.4182, allocations: 35.97 kB / 0.5456 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.39e-05/0.4183, allocations: 34.02 kB / 0.5457 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.4183, allocations: 0.7188 kB / 0.5457 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.4185, allocations: 124.5 kB / 0.5458 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.4186, allocations: 15.83 kB / 0.5458 GB, free: 14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.4187, allocations: 25.45 kB / 0.5458 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.4189, allocations: 118.3 kB / 0.546 GB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4189, allocations: 0 / 0.546 GB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4189, allocations: 1.094 kB / 0.546 GB, free: 13.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.419, allocations: 0 / 0.546 GB, free: 13.91 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005732/0.4195, allocations: 320.8 kB / 0.5463 GB, free: 13.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.4196, allocations: 13.73 kB / 0.5463 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.836e-05/0.4196, allocations: 1.656 kB / 0.5463 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.4196, allocations: 36 kB / 0.5463 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.4197, allocations: 16.86 kB / 0.5463 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.4199, allocations: 128.8 kB / 0.5464 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4199, allocations: 5.375 kB / 0.5465 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.4199, allocations: 0 / 0.5465 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.4201, allocations: 61.38 kB / 0.5465 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4201, allocations: 1.188 kB / 0.5465 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.4201, allocations: 0 / 0.5465 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.4201, allocations: 0 / 0.5465 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.132e-05/0.4202, allocations: 33.47 kB / 0.5465 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.4204, allocations: 145.6 kB / 0.5467 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.967e-05/0.4205, allocations: 49.44 kB / 0.5467 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.4205, allocations: 33.88 kB / 0.5468 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-06/0.4205, allocations: 0 / 0.5468 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.4206, allocations: 36.34 kB / 0.5468 GB, free: 13.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 8.02e-07/0.4206, allocations: 0 / 0.5468 GB, free: 13.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004083/0.421, allocations: 184.3 kB / 0.547 GB, free: 12.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.4211, allocations: 88.39 kB / 0.5471 GB, free: 12.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.4212, allocations: 122.7 kB / 0.5472 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4212, allocations: 25.7 kB / 0.5472 GB, free: 12.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.4213, allocations: 90.56 kB / 0.5473 GB, free: 12.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.719e-05/0.4214, allocations: 40.61 kB / 0.5473 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.4214, allocations: 19.91 kB / 0.5473 GB, free: 12.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4216, allocations: 325.6 kB / 0.5477 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.4217, allocations: 29.27 kB / 0.5477 GB, free: 12.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.4217, allocations: 33.14 kB / 0.5477 GB, free: 12.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.4219, allocations: 156.4 kB / 0.5479 GB, free: 12.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4219, allocations: 3.938 kB / 0.5479 GB, free: 12.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000206/0.4221, allocations: 153.2 kB / 0.548 GB, free: 12.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/0.4222, allocations: 44.81 kB / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4222, allocations: 0 / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.4222, allocations: 1.375 kB / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.4222, allocations: 0 / 0.5481 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.4222, allocations: 3.984 kB / 0.5481 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.4223, allocations: 6.688 kB / 0.5481 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.4223, allocations: 8.188 kB / 0.5481 GB, free: 11.98 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.0001911/0.4225, allocations: 167 kB / 0.5482 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.4225, allocations: 8.984 kB / 0.5482 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.4225, allocations: 11 kB / 0.5483 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4225, allocations: 0 / 0.5483 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4225, allocations: 4 kB / 0.5483 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4225, allocations: 0.9688 kB / 0.5483 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.4227, allocations: 152.5 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4227, allocations: 0 / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.4227, allocations: 4 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.4227, allocations: 1.156 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.4227, allocations: 2.062 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4227, allocations: 1.062 kB / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4227, allocations: 0 / 0.5484 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.4231, allocations: 282.5 kB / 0.5487 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.4231, allocations: 11.2 kB / 0.5487 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.4231, allocations: 2.375 kB / 0.5487 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.446e-05/0.4232, allocations: 14.31 kB / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.4232, allocations: 1.25 kB / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.4232, allocations: 3.375 kB / 0.5487 GB, free: 11.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.4233, allocations: 93.52 kB / 0.5488 GB, free: 11.35 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4233, allocations: 0 / 0.5488 GB, free: 11.35 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.4236, allocations: 32.25 kB / 0.5488 GB, free: 11.35 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.0008741/0.4245, allocations: 0.8207 MB / 0.5496 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.4248, allocations: 231.3 kB / 0.5499 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4248, allocations: 0 / 0.5499 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.425, allocations: 162.5 kB / 0.55 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.4253, allocations: 10.5 kB / 0.55 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.4273, allocations: 1.778 MB / 0.5518 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.4277, allocations: 0.7043 MB / 0.5524 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.958e-05/0.4277, allocations: 1.031 kB / 0.5524 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.4277, allocations: 20.56 kB / 0.5525 GB, free: 8.289 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4277, allocations: 0 / 0.5525 GB, free: 8.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.4523, allocations: 2.763 MB / 0.5552 GB, free: 6.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.68, allocations: 7.625 kB / 0.5552 GB, free: 6.867 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.557445444981568] Failed to read output from testmodel.py, exit status != 0: 11.841729742009193 11.86812708 11.444255756 Calling exit ...