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.001312/0.001312, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001466/0.001466, allocations: 219 kB / 21.46 MB, free: 1.586 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.524/1.524, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.1995/0.1995, allocations: 38.5 MB / 349.4 MB, free: 2.613 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.00244/0.00244, allocations: 64.94 kB / 487.8 MB, free: 32.31 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1284, allocations: 62.43 MB / 0.5374 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.00467/0.1331, allocations: 2.059 MB / 0.5394 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1342, allocations: 0.5571 MB / 0.5399 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.1343, allocations: 4 kB / 0.5399 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1345, allocations: 11.92 kB / 0.5399 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.1346, allocations: 35.81 kB / 0.54 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.135, allocations: 63.86 kB / 0.54 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1352, allocations: 59.7 kB / 0.5401 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.1353, allocations: 7.984 kB / 0.5401 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1354, allocations: 39.78 kB / 0.5401 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.1355, allocations: 35.88 kB / 0.5402 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1355, allocations: 0 / 0.5402 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.1357, allocations: 83.81 kB / 0.5403 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.1358, allocations: 15.94 kB / 0.5403 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.1358, allocations: 19.84 kB / 0.5403 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.1361, allocations: 99.92 kB / 0.5404 GB, free: 6.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.1361, allocations: 3.984 kB / 0.5404 GB, free: 6.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1361, allocations: 4 kB / 0.5404 GB, free: 6.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1361, allocations: 0 / 0.5404 GB, free: 6.414 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007384/0.1368, allocations: 384.9 kB / 0.5408 GB, free: 5.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.1369, allocations: 12.03 kB / 0.5408 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.516e-05/0.1369, allocations: 192 / 0.5408 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.36e-05/0.137, allocations: 34.73 kB / 0.5408 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.137, allocations: 8.891 kB / 0.5408 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.1374, allocations: 176.3 kB / 0.541 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1374, allocations: 8.125 kB / 0.541 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1374, allocations: 7.984 kB / 0.541 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1375, allocations: 49.69 kB / 0.541 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1376, allocations: 0 / 0.541 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1376, allocations: 0 / 0.541 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1376, allocations: 0 / 0.541 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.704e-05/0.1376, allocations: 27.92 kB / 0.5411 GB, free: 5.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.1379, allocations: 165.7 kB / 0.5412 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.036e-05/0.1379, allocations: 38.5 kB / 0.5413 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.138, allocations: 28.88 kB / 0.5413 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.138, allocations: 3.938 kB / 0.5413 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.138, allocations: 34.56 kB / 0.5413 GB, free: 5.277 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.138, allocations: 0 / 0.5413 GB, free: 5.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003214/0.1384, allocations: 147.2 kB / 0.5415 GB, free: 5.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.1384, allocations: 85.09 kB / 0.5416 GB, free: 5.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1386, allocations: 113.8 kB / 0.5417 GB, free: 4.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1386, allocations: 33.73 kB / 0.5417 GB, free: 4.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.1387, allocations: 84.14 kB / 0.5418 GB, free: 4.773 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/0.1387, allocations: 31.73 kB / 0.5418 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.1388, allocations: 13.72 kB / 0.5418 GB, free: 4.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.139, allocations: 322.8 kB / 0.5421 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.139, allocations: 23.98 kB / 0.5421 GB, free: 4.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.734e-05/0.139, allocations: 12 kB / 0.5422 GB, free: 4.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1392, allocations: 132.1 kB / 0.5423 GB, free: 4.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1392, allocations: 8.031 kB / 0.5423 GB, free: 4.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001656/0.1393, allocations: 119.8 kB / 0.5424 GB, free: 4.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/0.1394, allocations: 41.69 kB / 0.5424 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1394, allocations: 3.984 kB / 0.5425 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1394, allocations: 0 / 0.5425 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1394, allocations: 0 / 0.5425 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1394, allocations: 0 / 0.5425 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.1395, allocations: 7.953 kB / 0.5425 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1395, allocations: 4 kB / 0.5425 GB, free: 4.02 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.0001471/0.1396, allocations: 167.4 kB / 0.5426 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.1396, allocations: 4 kB / 0.5426 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.1397, allocations: 4.375 kB / 0.5426 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1397, allocations: 0 / 0.5426 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1397, allocations: 0 / 0.5426 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1397, allocations: 0 / 0.5426 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1398, allocations: 181.5 kB / 0.5428 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1398, allocations: 0 / 0.5428 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1398, allocations: 0 / 0.5428 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1398, allocations: 0 / 0.5428 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.1398, allocations: 3.938 kB / 0.5428 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1398, allocations: 8 kB / 0.5428 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1398, allocations: 3.938 kB / 0.5428 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.1401, allocations: 210.7 kB / 0.543 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.1402, allocations: 81.05 kB / 0.5431 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.1402, allocations: 4 kB / 0.5431 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.931e-05/0.1403, allocations: 3.984 kB / 0.5431 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.1403, allocations: 0 / 0.5431 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.1403, allocations: 8 kB / 0.5431 GB, free: 3.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.1404, allocations: 99.61 kB / 0.5432 GB, free: 3.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1404, allocations: 0 / 0.5432 GB, free: 3.148 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1406, allocations: 24 kB / 0.5432 GB, free: 3.125 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.0008287/0.1414, allocations: 0.7584 MB / 0.544 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000417/0.1418, allocations: 175.3 kB / 0.5441 GB, free: 2.148 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1418, allocations: 0 / 0.5441 GB, free: 2.148 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.142, allocations: 119.4 kB / 0.5443 GB, free: 2.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.1423, allocations: 12 kB / 0.5443 GB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.1442, allocations: 1.56 MB / 0.5458 GB, free: 372 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.1447, allocations: 0.6885 MB / 0.5465 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.754e-05/0.1447, allocations: 0 / 0.5465 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.1447, allocations: 23.42 kB / 0.5465 GB, free: 15.62 MB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1447, allocations: 4.031 kB / 0.5465 GB, free: 15.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.1656, allocations: 2.216 MB / 0.5486 GB, free: 13.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/8.744, allocations: 3.875 kB / 0.5487 GB, free: 13.52 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.695740061986726] Failed to read output from testmodel.py, exit status != 0: 8.873036276025232 8.887881038 8.748645166 Calling exit ...