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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 124.7 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.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.2079/0.2079, allocations: 38.5 MB / 342.5 MB, free: 8.012 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001979/0.001979, allocations: 63.91 kB / 478.6 MB, free: 33.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1283, allocations: 61.24 MB / 0.5272 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003672/0.132, allocations: 2.06 MB / 0.5292 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.1329, allocations: 0.526 MB / 0.5297 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.1329, allocations: 4 kB / 0.5297 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.1331, allocations: 15.91 kB / 0.5298 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.944e-05/0.1332, allocations: 27.84 kB / 0.5298 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1335, allocations: 55.84 kB / 0.5298 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1337, allocations: 63.77 kB / 0.5299 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.1337, allocations: 0 / 0.5299 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.431e-05/0.1338, allocations: 31.91 kB / 0.5299 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.1338, allocations: 39.77 kB / 0.53 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1339, allocations: 0 / 0.53 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.1341, allocations: 91.8 kB / 0.5301 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.1341, allocations: 31.91 kB / 0.5301 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.1342, allocations: 31.69 kB / 0.5301 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1344, allocations: 119.8 kB / 0.5302 GB, free: 14.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1344, allocations: 3.938 kB / 0.5302 GB, free: 14.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1344, allocations: 0 / 0.5302 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1344, allocations: 0 / 0.5302 GB, free: 14.25 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.0005615/0.135, allocations: 444.6 kB / 0.5307 GB, free: 13.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.135, allocations: 11.89 kB / 0.5307 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.135, allocations: 42.73 kB / 0.5307 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.1351, allocations: 12.84 kB / 0.5307 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.1353, allocations: 192.2 kB / 0.5309 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1353, allocations: 384 / 0.5309 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1353, allocations: 3.938 kB / 0.5309 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.1355, allocations: 92.72 kB / 0.531 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1355, allocations: 0 / 0.531 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.1355, allocations: 0 / 0.531 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1355, allocations: 0 / 0.531 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.591e-05/0.1356, allocations: 67.77 kB / 0.5311 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.1358, allocations: 181.5 kB / 0.5312 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.1359, allocations: 82.44 kB / 0.5313 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.136, allocations: 64.86 kB / 0.5314 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.136, allocations: 0 / 0.5314 GB, free: 12.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.136, allocations: 30.56 kB / 0.5314 GB, free: 12.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 8.81e-07/0.136, allocations: 4 kB / 0.5314 GB, free: 12.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004996/0.1365, allocations: 299.6 kB / 0.5317 GB, free: 12.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.1366, allocations: 101.1 kB / 0.5318 GB, free: 12.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1367, allocations: 132.3 kB / 0.5319 GB, free: 12.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1367, allocations: 29.69 kB / 0.5319 GB, free: 12.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.1368, allocations: 92.58 kB / 0.532 GB, free: 12.19 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.1368, allocations: 83.25 kB / 0.5321 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.1369, allocations: 33.64 kB / 0.5321 GB, free: 12.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.137, allocations: 322.8 kB / 0.5324 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-05/0.1371, allocations: 55.84 kB / 0.5325 GB, free: 11.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.1372, allocations: 63.97 kB / 0.5326 GB, free: 11.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.1374, allocations: 243.4 kB / 0.5328 GB, free: 11.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1374, allocations: 3.938 kB / 0.5328 GB, free: 11.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002518/0.1377, allocations: 231 kB / 0.533 GB, free: 11.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.977e-05/0.1377, allocations: 61.67 kB / 0.5331 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1377, allocations: 0 / 0.5331 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1378, allocations: 0 / 0.5331 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.1378, allocations: 3.984 kB / 0.5331 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1378, allocations: 0 / 0.5331 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.1378, allocations: 16.02 kB / 0.5331 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.1378, allocations: 11.98 kB / 0.5331 GB, free: 11.04 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.0001812/0.138, allocations: 195.4 kB / 0.5333 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.138, allocations: 19.91 kB / 0.5333 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.138, allocations: 9.188 kB / 0.5333 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.138, allocations: 0 / 0.5333 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.138, allocations: 0 / 0.5333 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.138, allocations: 4 kB / 0.5333 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.1382, allocations: 193.5 kB / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1382, allocations: 0 / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1382, allocations: 8 kB / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1382, allocations: 0 / 0.5335 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1382, allocations: 8 kB / 0.5335 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1382, allocations: 0 / 0.5335 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1382, allocations: 0 / 0.5335 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.1388, allocations: 0.5032 MB / 0.534 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.1389, allocations: 92.95 kB / 0.5341 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.1389, allocations: 4 kB / 0.5341 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.328e-05/0.1389, allocations: 8.031 kB / 0.5341 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.1389, allocations: 3.938 kB / 0.5341 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1389, allocations: 11.98 kB / 0.5341 GB, free: 9.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.945e-05/0.139, allocations: 101.6 kB / 0.5342 GB, free: 9.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.139, allocations: 0 / 0.5342 GB, free: 9.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1393, allocations: 43.94 kB / 0.5343 GB, free: 9.734 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.001044/0.1403, allocations: 1.074 MB / 0.5353 GB, free: 8.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005573/0.1409, allocations: 451.2 kB / 0.5358 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.1409, allocations: 0 / 0.5358 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.1412, allocations: 311.2 kB / 0.536 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1415, allocations: 19.98 kB / 0.5361 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.1442, allocations: 2.47 MB / 0.5385 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.1446, allocations: 0.7277 MB / 0.5392 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.247e-05/0.1446, allocations: 0 / 0.5392 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.1447, allocations: 35.42 kB / 0.5392 GB, free: 4.484 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1447, allocations: 0 / 0.5392 GB, free: 4.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.172, allocations: 3.602 MB / 0.5427 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.017, allocations: 20.12 kB / 0.5428 GB, free: 0.9727 MB / 398.1 MB " [Timeout remaining time 652] (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: 11.076156981755048] Failed to read output from testmodel.py, exit status != 0: 8.084104163106531 8.098563528 7.96109519 Calling exit ...