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.0007425/0.0007425, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001308/0.001308, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9274/0.9274, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2263/0.2263, allocations: 29.41 MB / 290.1 MB, free: 2.445 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/1.996e-05, allocations: 6.281 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002433/0.002453, allocations: 2.137 MB / 432.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.003176, allocations: 0.5453 MB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.338e-05/0.00322, allocations: 0 / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.003359, allocations: 15.91 kB / 432.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.689e-05/0.003436, allocations: 19.84 kB / 432.9 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.003787, allocations: 83.69 kB / 433 MB, free: 10.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.003893, allocations: 55.77 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.003935, allocations: 8 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.004072, allocations: 35.89 kB / 433.1 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.004116, allocations: 27.89 kB / 433.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.004126, allocations: 4 kB / 433.1 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.004283, allocations: 103.7 kB / 433.2 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.004335, allocations: 31.86 kB / 433.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.004359, allocations: 19.88 kB / 433.3 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.004524, allocations: 123.6 kB / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.004526, allocations: 0 / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004528, allocations: 0 / 433.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.004533, allocations: 4 kB / 433.4 MB, free: 10.35 MB / 410.7 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.0003145/0.004847, allocations: 359.5 kB / 433.8 MB, free: 9.965 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.004887, allocations: 11.98 kB / 433.8 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.837e-05/0.004915, allocations: 42.73 kB / 433.8 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.719e-05/0.004943, allocations: 12.84 kB / 433.8 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.005074, allocations: 144.5 kB / 434 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.005083, allocations: 4.312 kB / 434 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.00509, allocations: 384 / 434 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.005246, allocations: 155.7 kB / 434.1 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005254, allocations: 3.984 kB / 434.1 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.005261, allocations: 0 / 434.1 MB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.005266, allocations: 4 kB / 434.1 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.912e-05/0.005345, allocations: 125.5 kB / 434.3 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.005614, allocations: 148.7 kB / 434.4 MB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.821e-05/0.005712, allocations: 136.2 kB / 434.5 MB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.005783, allocations: 130.5 kB / 434.7 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-06/0.00579, allocations: 3.984 kB / 434.7 MB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.005811, allocations: 38.5 kB / 434.7 MB, free: 8.898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 9.61e-07/0.005812, allocations: 0 / 434.7 MB, free: 8.898 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003735/0.006186, allocations: 446.1 kB / 435.1 MB, free: 8.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.006231, allocations: 97.09 kB / 435.2 MB, free: 8.328 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.157e-05/0.006312, allocations: 133.9 kB / 435.4 MB, free: 8.188 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.006324, allocations: 29.7 kB / 435.4 MB, free: 8.152 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.006365, allocations: 96.61 kB / 435.5 MB, free: 8.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.006425, allocations: 83.23 kB / 435.6 MB, free: 7.973 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.006456, allocations: 25.7 kB / 435.6 MB, free: 7.941 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.006545, allocations: 322.8 kB / 435.9 MB, free: 7.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.006622, allocations: 129.5 kB / 436 MB, free: 7.484 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-05/0.00669, allocations: 125.7 kB / 436.2 MB, free: 7.355 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.006858, allocations: 286.2 kB / 436.4 MB, free: 7.062 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.006861, allocations: 0 / 436.4 MB, free: 7.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002002/0.007061, allocations: 313.6 kB / 436.8 MB, free: 6.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.007107, allocations: 65.66 kB / 436.8 MB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007112, allocations: 4 kB / 436.8 MB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.007125, allocations: 4 kB / 436.8 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.007126, allocations: 0 / 436.8 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.007131, allocations: 0 / 436.8 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.007155, allocations: 19.81 kB / 436.8 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.007173, allocations: 4 kB / 436.8 MB, free: 6.637 MB / 410.7 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.0001047/0.007278, allocations: 199.4 kB / 437 MB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.007291, allocations: 19.88 kB / 437.1 MB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.007306, allocations: 13.28 kB / 437.1 MB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.007307, allocations: 4 kB / 437.1 MB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.007312, allocations: 0 / 437.1 MB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007314, allocations: 0 / 437.1 MB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.993e-05/0.007404, allocations: 164.6 kB / 437.2 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.007405, allocations: 0 / 437.2 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-07/0.007405, allocations: 0 / 437.2 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.007408, allocations: 3.938 kB / 437.2 MB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.007418, allocations: 8 kB / 437.3 MB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.007418, allocations: 0 / 437.3 MB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007419, allocations: 0 / 437.3 MB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006458/0.008065, allocations: 0.4962 MB / 437.7 MB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.008079, allocations: 23.81 kB / 437.8 MB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.008093, allocations: 4 kB / 437.8 MB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.351e-05/0.008106, allocations: 4 kB / 437.8 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.008123, allocations: 4 kB / 437.8 MB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.00813, allocations: 7.938 kB / 437.8 MB, free: 5.602 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.228e-05/0.008173, allocations: 106.5 kB / 437.9 MB, free: 5.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008173, allocations: 0 / 437.9 MB, free: 5.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.008358, allocations: 47.94 kB / 437.9 MB, free: 5.453 MB / 410.7 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.0005886/0.008946, allocations: 1.049 MB / 439 MB, free: 4.363 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.009298, allocations: 498.6 kB / 439.5 MB, free: 3.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.009301, allocations: 0 / 439.5 MB, free: 3.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.00947, allocations: 300.9 kB / 439.8 MB, free: 3.539 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.009659, allocations: 19.45 kB / 439.8 MB, free: 3.523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.01145, allocations: 2.753 MB / 442.5 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.606e-05/0.01151, allocations: 105.1 kB / 442.6 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.226e-05/0.01154, allocations: 12.14 kB / 442.7 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.01157, allocations: 24.5 kB / 442.7 MB, free: 500 kB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01157, allocations: 0 / 442.7 MB, free: 500 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.184/0.1956, allocations: 4.303 MB / 447 MB, free: 54.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.626/6.822, allocations: 12.52 kB / 447 MB, free: 54.04 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.723245086148381] Failed to read output from testmodel.py, exit status != 0: 6.900968657806516 6.908580036 6.902593471 Calling exit ...