Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.0007601/0.0007601, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0008636/0.0008636, allocations: 170 kB / 23.95 MB, free: 0.6016 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.8922/0.8922, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2368/0.2368, allocations: 29.41 MB / 290.1 MB, free: 2.461 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_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.048e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.00232/0.00234, allocations: 2.133 MB / 432.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005641/0.002904, allocations: 0.5492 MB / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.00295, allocations: 0 / 432.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.00312, allocations: 11.92 kB / 432.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.964e-05/0.003189, allocations: 19.91 kB / 432.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.003483, allocations: 83.67 kB / 433 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.401e-05/0.003577, allocations: 59.77 kB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.003622, allocations: 11.92 kB / 433.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.00384, allocations: 39.78 kB / 433.1 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.003885, allocations: 35.89 kB / 433.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.003893, allocations: 0 / 433.2 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.004048, allocations: 95.78 kB / 433.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.004087, allocations: 19.86 kB / 433.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.004107, allocations: 7.938 kB / 433.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.004243, allocations: 95.81 kB / 433.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004245, allocations: 0 / 433.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.004247, allocations: 3.938 kB / 433.4 MB, free: 10.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.00425, allocations: 4 kB / 433.4 MB, free: 10.41 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002758/0.004526, allocations: 311.8 kB / 433.7 MB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.004563, allocations: 15.98 kB / 433.7 MB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.327e-05/0.004586, allocations: 34.69 kB / 433.7 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.004612, allocations: 8.891 kB / 433.7 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.004722, allocations: 121.7 kB / 433.9 MB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-06/0.00473, allocations: 4.375 kB / 433.9 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-06/0.004738, allocations: 384 / 433.9 MB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.004853, allocations: 95.69 kB / 434 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.00486, allocations: 0 / 434 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.004867, allocations: 4 kB / 434 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.004871, allocations: 0 / 434 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.748e-05/0.004918, allocations: 61.62 kB / 434 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.005027, allocations: 128.8 kB / 434.2 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.614e-05/0.005093, allocations: 80.25 kB / 434.2 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.005131, allocations: 62.58 kB / 434.3 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-06/0.005138, allocations: 4 kB / 434.3 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.00516, allocations: 34.5 kB / 434.3 MB, free: 9.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 7.32e-07/0.005161, allocations: 0 / 434.3 MB, free: 9.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002111/0.005372, allocations: 234.6 kB / 434.6 MB, free: 9.043 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.005409, allocations: 85.14 kB / 434.6 MB, free: 8.941 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.005593, allocations: 117.8 kB / 434.8 MB, free: 8.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.487e-06/0.005602, allocations: 25.7 kB / 434.8 MB, free: 8.785 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.023e-05/0.005633, allocations: 88.52 kB / 434.9 MB, free: 8.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.005661, allocations: 23.75 kB / 434.9 MB, free: 8.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.005689, allocations: 29.64 kB / 434.9 MB, free: 8.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.005762, allocations: 314.8 kB / 435.2 MB, free: 8.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.532e-05/0.005807, allocations: 65.61 kB / 435.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.005841, allocations: 61.69 kB / 435.4 MB, free: 8.184 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.998e-05/0.005921, allocations: 136.7 kB / 435.5 MB, free: 8.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005922, allocations: 0 / 435.5 MB, free: 8.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00011/0.006032, allocations: 184.9 kB / 435.7 MB, free: 7.836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.006065, allocations: 41.69 kB / 435.7 MB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.00607, allocations: 0 / 435.7 MB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.006081, allocations: 4 kB / 435.7 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.375e-06/0.006083, allocations: 7.984 kB / 435.7 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.006088, allocations: 0 / 435.7 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.006104, allocations: 3.938 kB / 435.7 MB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.006119, allocations: 8 kB / 435.7 MB, free: 7.766 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 6.753e-05/0.006187, allocations: 151.5 kB / 435.9 MB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-06/0.006195, allocations: 11.89 kB / 435.9 MB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.949e-06/0.006205, allocations: 12.45 kB / 435.9 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.006207, allocations: 0 / 435.9 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.00621, allocations: 0 / 435.9 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.006212, allocations: 0 / 435.9 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.303e-05/0.006275, allocations: 136.8 kB / 436 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006276, allocations: 0 / 436 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-07/0.006276, allocations: 0 / 436 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.006278, allocations: 3.938 kB / 436 MB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.006285, allocations: 4 kB / 436 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006286, allocations: 0 / 436 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006287, allocations: 0 / 436 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.006445, allocations: 252.3 kB / 436.3 MB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-06/0.006453, allocations: 7.891 kB / 436.3 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.006465, allocations: 7.984 kB / 436.3 MB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-06/0.006473, allocations: 0 / 436.3 MB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.006488, allocations: 8 kB / 436.3 MB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.006492, allocations: 0 / 436.3 MB, free: 7.094 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.151e-05/0.006523, allocations: 91.27 kB / 436.4 MB, free: 7.004 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006523, allocations: 0 / 436.4 MB, free: 7.004 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000145/0.006668, allocations: 28.22 kB / 436.4 MB, free: 6.977 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.0003892/0.007057, allocations: 0.799 MB / 437.2 MB, free: 6.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.007236, allocations: 242.8 kB / 437.5 MB, free: 5.875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.007238, allocations: 7.938 kB / 437.5 MB, free: 5.867 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.841e-05/0.007307, allocations: 149.1 kB / 437.6 MB, free: 5.703 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.007496, allocations: 11.98 kB / 437.6 MB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.008556, allocations: 1.743 MB / 439.4 MB, free: 3.828 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.0086, allocations: 75.33 kB / 439.5 MB, free: 3.734 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.521e-05/0.008615, allocations: 4.156 kB / 439.5 MB, free: 3.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.008642, allocations: 12.5 kB / 439.5 MB, free: 3.719 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008642, allocations: 0 / 439.5 MB, free: 3.719 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.02566, allocations: 2.865 MB / 442.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.791, allocations: 8.047 kB / 442.3 MB, free: 0.9609 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.772875449620187] Failed to read output from testmodel.py, exit status != 0: 7.022099093534052 7.030975045 7.025306979 Calling exit ...