Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001856/0.001856, allocations: 121.4 kB / 17.79 MB, free: 5.121 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.002048/0.002048, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.538/1.538, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1885/0.1885, allocations: 38.5 MB / 342.5 MB, free: 8.082 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-master/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_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.7 kB / 478.6 MB, free: 33.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1251, allocations: 61.25 MB / 0.5272 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003736/0.1288, allocations: 2.12 MB / 0.5293 GB, free: 15.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003472/0.1323, allocations: 2.054 MB / 0.5313 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.1324, allocations: 0 / 0.5313 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.1325, allocations: 7.922 kB / 0.5313 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.955e-05/0.1326, allocations: 39.83 kB / 0.5314 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.1349, allocations: 0.8305 MB / 0.5322 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1351, allocations: 71.75 kB / 0.5322 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.1351, allocations: 8.125 kB / 0.5322 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.63e-05/0.1352, allocations: 35.84 kB / 0.5323 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/0.1353, allocations: 55.73 kB / 0.5323 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1353, allocations: 4 kB / 0.5323 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.1377, allocations: 1.614 MB / 0.5339 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.1378, allocations: 43.84 kB / 0.5339 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.1379, allocations: 59.47 kB / 0.534 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.1397, allocations: 1.375 MB / 0.5353 GB, free: 9.039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1397, allocations: 4 kB / 0.5354 GB, free: 9.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1397, allocations: 0 / 0.5354 GB, free: 9.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1397, allocations: 0 / 0.5354 GB, free: 9.035 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.0008434/0.1405, allocations: 0.62 MB / 0.536 GB, free: 8.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1406, allocations: 15.89 kB / 0.536 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.1406, allocations: 42.73 kB / 0.536 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.1407, allocations: 20.8 kB / 0.536 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1409, allocations: 215.9 kB / 0.5362 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.141, allocations: 4 kB / 0.5362 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.141, allocations: 0 / 0.5362 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.1412, allocations: 138.6 kB / 0.5364 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1412, allocations: 0 / 0.5364 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1412, allocations: 0 / 0.5364 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.1412, allocations: 4 kB / 0.5364 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1414, allocations: 100.2 kB / 0.5365 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.1416, allocations: 214.1 kB / 0.5367 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1417, allocations: 110.8 kB / 0.5368 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.1419, allocations: 113.1 kB / 0.5369 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-06/0.142, allocations: 0 / 0.5369 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.142, allocations: 34.56 kB / 0.5369 GB, free: 7.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 9.22e-07/0.142, allocations: 4 kB / 0.5369 GB, free: 7.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.000733/0.1427, allocations: 0.4911 MB / 0.5374 GB, free: 6.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.1428, allocations: 109.1 kB / 0.5375 GB, free: 6.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.143, allocations: 166.4 kB / 0.5377 GB, free: 6.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.143, allocations: 29.7 kB / 0.5377 GB, free: 6.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.1431, allocations: 104.8 kB / 0.5378 GB, free: 6.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.1432, allocations: 134.8 kB / 0.5379 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.1432, allocations: 33.7 kB / 0.538 GB, free: 6.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1434, allocations: 346.8 kB / 0.5383 GB, free: 5.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1436, allocations: 91.95 kB / 0.5384 GB, free: 5.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1437, allocations: 100.9 kB / 0.5385 GB, free: 5.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004102/0.1441, allocations: 380.3 kB / 0.5388 GB, free: 5.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1441, allocations: 0 / 0.5388 GB, free: 5.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004213/0.1445, allocations: 339 kB / 0.5392 GB, free: 4.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.1446, allocations: 89.62 kB / 0.5392 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1446, allocations: 0 / 0.5392 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1446, allocations: 0 / 0.5392 GB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.1446, allocations: 4.062 kB / 0.5393 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1446, allocations: 0 / 0.5393 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.374e-05/0.1447, allocations: 23.78 kB / 0.5393 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.1448, allocations: 8 kB / 0.5393 GB, free: 4.734 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.0002394/0.145, allocations: 239.3 kB / 0.5395 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.145, allocations: 27.86 kB / 0.5395 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.1451, allocations: 18.64 kB / 0.5396 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1451, allocations: 0 / 0.5396 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1451, allocations: 0 / 0.5396 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1451, allocations: 4 kB / 0.5396 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.1453, allocations: 237.3 kB / 0.5398 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1453, allocations: 0 / 0.5398 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.1453, allocations: 0 / 0.5398 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1453, allocations: 0 / 0.5398 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.1453, allocations: 8 kB / 0.5398 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1453, allocations: 0 / 0.5398 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1453, allocations: 3.938 kB / 0.5398 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.1464, allocations: 0.9238 MB / 0.5407 GB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.1465, allocations: 104.9 kB / 0.5408 GB, free: 3.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.1465, allocations: 8 kB / 0.5408 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.767e-05/0.1465, allocations: 4 kB / 0.5408 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.1466, allocations: 15.92 kB / 0.5408 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1466, allocations: 8 kB / 0.5408 GB, free: 3.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1467, allocations: 128.2 kB / 0.541 GB, free: 2.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1467, allocations: 0 / 0.541 GB, free: 2.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009278/0.1476, allocations: 359.4 kB / 0.5413 GB, free: 2.559 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.002309/0.1499, allocations: 1.733 MB / 0.543 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.151, allocations: 0.8309 MB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.151, allocations: 3.938 kB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007852/0.1517, allocations: 0.6046 MB / 0.5444 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.152, allocations: 12 kB / 0.5444 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005202/0.1572, allocations: 3.681 MB / 0.548 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.1577, allocations: 0.7556 MB / 0.5487 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.722e-05/0.1577, allocations: 0 / 0.5487 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.1578, allocations: 43.42 kB / 0.5488 GB, free: 10.72 MB / 414.1 MB Notification: Performance of SimCode: time 1.363e-06/0.1578, allocations: 0 / 0.5488 GB, free: 10.72 MB / 414.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: 3.001259670127183] Failed to read output from testmodel.py, exit status != 0: 0.1927048210054636 0.20905174 0.066283144 Calling exit ...