Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.001281/0.001281, allocations: 120.7 kB / 17.79 MB, free: 5.137 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.001304/0.001304, allocations: 186.9 kB / 20.73 MB, free: 2.207 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.456/1.456, allocations: 225.6 MB / 249.1 MB, free: 3.586 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.1842/0.1842, allocations: 38.49 MB / 342.5 MB, free: 8.004 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_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 64.41 kB / 478.6 MB, free: 33.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.132, allocations: 61.24 MB / 0.5272 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003862/0.1359, allocations: 2.122 MB / 0.5293 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.1392, allocations: 2.047 MB / 0.5313 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.1393, allocations: 3.938 kB / 0.5313 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.1394, allocations: 11.92 kB / 0.5313 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.944e-05/0.1395, allocations: 27.83 kB / 0.5313 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.142, allocations: 0.8458 MB / 0.5322 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1422, allocations: 71.75 kB / 0.5322 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.1422, allocations: 192 / 0.5322 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1423, allocations: 35.78 kB / 0.5323 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.1424, allocations: 43.88 kB / 0.5323 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1424, allocations: 0 / 0.5323 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.1451, allocations: 1.61 MB / 0.5339 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.1452, allocations: 27.86 kB / 0.5339 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.1452, allocations: 19.81 kB / 0.5339 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.1472, allocations: 1.336 MB / 0.5352 GB, free: 9.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1472, allocations: 0 / 0.5352 GB, free: 9.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1472, allocations: 0 / 0.5352 GB, free: 9.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1472, allocations: 0 / 0.5352 GB, free: 9.109 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008548/0.1481, allocations: 0.5268 MB / 0.5357 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1481, allocations: 15.88 kB / 0.5357 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.1482, allocations: 34.75 kB / 0.5358 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.1482, allocations: 4.891 kB / 0.5358 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1485, allocations: 210 kB / 0.536 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1485, allocations: 3.984 kB / 0.536 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1485, allocations: 0 / 0.536 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1487, allocations: 65.67 kB / 0.5361 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1487, allocations: 0 / 0.5361 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1487, allocations: 0 / 0.5361 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1487, allocations: 0 / 0.5361 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.477e-05/0.1487, allocations: 35.97 kB / 0.5361 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.1489, allocations: 169.6 kB / 0.5362 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.255e-05/0.149, allocations: 54.5 kB / 0.5363 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.027e-05/0.1491, allocations: 36.88 kB / 0.5363 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.1491, allocations: 0 / 0.5363 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1491, allocations: 34.56 kB / 0.5364 GB, free: 7.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 8.81e-07/0.1491, allocations: 0 / 0.5364 GB, free: 7.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003753/0.1495, allocations: 203.3 kB / 0.5366 GB, free: 7.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.1496, allocations: 85.11 kB / 0.5366 GB, free: 7.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1497, allocations: 133.9 kB / 0.5368 GB, free: 7.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1497, allocations: 29.7 kB / 0.5368 GB, free: 7.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.1498, allocations: 92.12 kB / 0.5369 GB, free: 7.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.1499, allocations: 39.69 kB / 0.5369 GB, free: 7.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.1499, allocations: 13.72 kB / 0.5369 GB, free: 7.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1501, allocations: 326.8 kB / 0.5373 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.618e-05/0.1501, allocations: 31.98 kB / 0.5373 GB, free: 6.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.264e-05/0.1502, allocations: 31.98 kB / 0.5373 GB, free: 6.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.1504, allocations: 168.2 kB / 0.5375 GB, free: 6.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1504, allocations: 0 / 0.5375 GB, free: 6.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002355/0.1506, allocations: 163.1 kB / 0.5376 GB, free: 6.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.1507, allocations: 49.67 kB / 0.5377 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1507, allocations: 0 / 0.5377 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1507, allocations: 0 / 0.5377 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1507, allocations: 4 kB / 0.5377 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1507, allocations: 0 / 0.5377 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.997e-05/0.1508, allocations: 7.875 kB / 0.5377 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.1508, allocations: 4 kB / 0.5377 GB, free: 6.301 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.0001629/0.151, allocations: 175.5 kB / 0.5379 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.151, allocations: 7.953 kB / 0.5379 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/0.151, allocations: 8.719 kB / 0.5379 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.151, allocations: 0 / 0.5379 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.151, allocations: 3.938 kB / 0.5379 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.151, allocations: 3.938 kB / 0.5379 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.1512, allocations: 177.6 kB / 0.5381 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1512, allocations: 0 / 0.5381 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-06/0.1512, allocations: 3.984 kB / 0.5381 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1512, allocations: 8 kB / 0.5381 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1512, allocations: 0 / 0.5381 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1512, allocations: 4 kB / 0.5381 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1512, allocations: 0 / 0.5381 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.1516, allocations: 294.9 kB / 0.5383 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.1516, allocations: 89 kB / 0.5384 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.1517, allocations: 4 kB / 0.5384 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.784e-05/0.1517, allocations: 0 / 0.5384 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.1518, allocations: 12.03 kB / 0.5384 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.1518, allocations: 7.938 kB / 0.5385 GB, free: 5.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.558e-05/0.1518, allocations: 101.8 kB / 0.5386 GB, free: 5.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1518, allocations: 0 / 0.5386 GB, free: 5.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001002/0.1528, allocations: 323.4 kB / 0.5389 GB, free: 4.996 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.00168/0.1545, allocations: 1.086 MB / 0.5399 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003656/0.1549, allocations: 235.2 kB / 0.5401 GB, free: 3.633 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1549, allocations: 0 / 0.5401 GB, free: 3.633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.1551, allocations: 159.3 kB / 0.5403 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.1554, allocations: 14.61 kB / 0.5403 GB, free: 3.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.1579, allocations: 1.95 MB / 0.5422 GB, free: 1.414 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.1583, allocations: 0.708 MB / 0.5429 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.555e-05/0.1583, allocations: 3.938 kB / 0.5429 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.1584, allocations: 23.42 kB / 0.5429 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1584, allocations: 0 / 0.5429 GB, free: 0.6523 MB / 398.1 MB [CodegenCFunctions.tpl:5632:13-5632:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.841032165568322] Failed to read output from testmodel.py, exit status != 0: 0.18941051000729203 0.20534268500000002 0.054855756000000006 Calling exit ...