Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.001725/0.001725, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001855/0.001855, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.574/1.574, allocations: 225.6 MB / 249.1 MB, free: 3.594 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.1966/0.1966, allocations: 38.5 MB / 342.5 MB, free: 8.016 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_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.48 kB / 478.6 MB, free: 33.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1264, allocations: 61.25 MB / 0.5272 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003975/0.1304, allocations: 2.048 MB / 0.5292 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.1313, allocations: 0.5299 MB / 0.5297 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.1313, allocations: 0 / 0.5297 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.1315, allocations: 11.92 kB / 0.5298 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.704e-05/0.1316, allocations: 27.83 kB / 0.5298 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.132, allocations: 59.84 kB / 0.5298 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1321, allocations: 63.77 kB / 0.5299 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.1322, allocations: 3.984 kB / 0.5299 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.854e-05/0.1323, allocations: 31.86 kB / 0.5299 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.318e-05/0.1323, allocations: 35.83 kB / 0.53 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1324, allocations: 0 / 0.53 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.1326, allocations: 91.8 kB / 0.5301 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.1326, allocations: 43.78 kB / 0.5301 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.1327, allocations: 43.56 kB / 0.5301 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1329, allocations: 155.5 kB / 0.5303 GB, free: 14.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1329, allocations: 0 / 0.5303 GB, free: 14.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.133, allocations: 4 kB / 0.5303 GB, free: 14.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.133, allocations: 0 / 0.5303 GB, free: 14.2 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005506/0.1335, allocations: 484.3 kB / 0.5307 GB, free: 13.67 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.1336, allocations: 15.88 kB / 0.5308 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/0.1336, allocations: 50.67 kB / 0.5308 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.1336, allocations: 16.8 kB / 0.5308 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.1338, allocations: 207.2 kB / 0.531 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1339, allocations: 0 / 0.531 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.1339, allocations: 0 / 0.531 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.134, allocations: 130.6 kB / 0.5312 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1341, allocations: 4 kB / 0.5312 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1341, allocations: 0 / 0.5312 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1341, allocations: 0 / 0.5312 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1342, allocations: 96.28 kB / 0.5312 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002167/0.1344, allocations: 198.1 kB / 0.5314 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1345, allocations: 114.8 kB / 0.5315 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1346, allocations: 101.2 kB / 0.5316 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1346, allocations: 4 kB / 0.5316 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1347, allocations: 30.56 kB / 0.5317 GB, free: 12.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 9.12e-07/0.1347, allocations: 0 / 0.5317 GB, free: 12.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006123/0.1353, allocations: 480 kB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/0.1354, allocations: 105 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1355, allocations: 150.4 kB / 0.5324 GB, free: 11.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1355, allocations: 25.7 kB / 0.5324 GB, free: 11.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.1356, allocations: 96.78 kB / 0.5325 GB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1357, allocations: 138.8 kB / 0.5326 GB, free: 11.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.1357, allocations: 37.7 kB / 0.5327 GB, free: 11.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1359, allocations: 334.8 kB / 0.533 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.136, allocations: 91.97 kB / 0.5331 GB, free: 11.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.1361, allocations: 96.95 kB / 0.5332 GB, free: 11.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.1365, allocations: 364.4 kB / 0.5335 GB, free: 10.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1365, allocations: 0 / 0.5335 GB, free: 10.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003819/0.1369, allocations: 323.1 kB / 0.5338 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.674e-05/0.137, allocations: 93.62 kB / 0.5339 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.137, allocations: 4 kB / 0.5339 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.137, allocations: 0 / 0.5339 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.137, allocations: 0 / 0.5339 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.137, allocations: 0 / 0.5339 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.1371, allocations: 23.78 kB / 0.5339 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.1371, allocations: 8 kB / 0.5339 GB, free: 10.18 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.0002278/0.1373, allocations: 239.2 kB / 0.5342 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.1374, allocations: 19.91 kB / 0.5342 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.1374, allocations: 13.97 kB / 0.5342 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1374, allocations: 0 / 0.5342 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1374, allocations: 0 / 0.5342 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1374, allocations: 0 / 0.5342 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.1376, allocations: 237.3 kB / 0.5344 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1376, allocations: 0 / 0.5344 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1376, allocations: 0 / 0.5344 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1376, allocations: 0 / 0.5344 GB, free: 9.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.1376, allocations: 12 kB / 0.5344 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1376, allocations: 0 / 0.5344 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1376, allocations: 0 / 0.5344 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009813/0.1386, allocations: 0.9082 MB / 0.5353 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.1387, allocations: 96.94 kB / 0.5354 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.1387, allocations: 8 kB / 0.5354 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.095e-05/0.1387, allocations: 4 kB / 0.5354 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.1388, allocations: 11.98 kB / 0.5354 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.1388, allocations: 8 kB / 0.5354 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.316e-05/0.1389, allocations: 118.9 kB / 0.5356 GB, free: 8.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1389, allocations: 32 / 0.5356 GB, free: 8.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1391, allocations: 63.94 kB / 0.5356 GB, free: 8.344 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.001373/0.1405, allocations: 1.457 MB / 0.537 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009888/0.1415, allocations: 0.8192 MB / 0.5378 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1415, allocations: 0 / 0.5378 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006403/0.1421, allocations: 0.6007 MB / 0.5384 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.1424, allocations: 35.91 kB / 0.5385 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003835/0.1463, allocations: 3.458 MB / 0.5418 GB, free: 1.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1466, allocations: 0.7493 MB / 0.5426 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.834e-05/0.1467, allocations: 0 / 0.5426 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.1467, allocations: 39.42 kB / 0.5426 GB, free: 1.008 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1467, allocations: 0 / 0.5426 GB, free: 1.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.1765, allocations: 4.877 MB / 0.5474 GB, free: 12.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.165, allocations: 12.38 kB / 0.5474 GB, free: 12.23 MB / 414.1 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.18365588504821] Failed to read output from testmodel.py, exit status != 0: 8.234352721367031 8.256586968 8.119430083 Calling exit ...