Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001257/0.001257, allocations: 108 kB / 20.43 MB, free: 4.598 MB / 13.93 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.001169/0.001169, allocations: 221.5 kB / 23.73 MB, free: 2.133 MB / 13.93 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.092/1.092, allocations: 230.6 MB / 257.5 MB, free: 9.438 MB / 202.7 MB " [Timeout remaining time 179] 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.121/0.121, allocations: 38.56 MB / 352.5 MB, free: 11.3 MB / 282.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me_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.001669/0.001669, allocations: 71.89 kB / 493.3 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1282, allocations: 62.47 MB / 0.5427 GB, free: 5.984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003318/0.1315, allocations: 2.194 MB / 0.5449 GB, free: 3.766 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1336, allocations: 1.899 MB / 0.5467 GB, free: 1.855 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.1337, allocations: 0 / 0.5467 GB, free: 1.855 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.1338, allocations: 7.922 kB / 0.5467 GB, free: 1.848 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.204e-05/0.1339, allocations: 31.83 kB / 0.5468 GB, free: 1.816 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.1354, allocations: 0.963 MB / 0.5477 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1356, allocations: 79.62 kB / 0.5478 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.1356, allocations: 8.172 kB / 0.5478 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1357, allocations: 43.84 kB / 0.5478 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.784e-05/0.1358, allocations: 43.81 kB / 0.5479 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1358, allocations: 0 / 0.5479 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.1376, allocations: 1.898 MB / 0.5497 GB, free: 14.78 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.1377, allocations: 39.84 kB / 0.5498 GB, free: 14.74 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.1377, allocations: 27.73 kB / 0.5498 GB, free: 14.71 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1387, allocations: 1.356 MB / 0.5511 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1387, allocations: 4 kB / 0.5511 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1387, allocations: 3.938 kB / 0.5511 GB, free: 13.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1387, allocations: 0 / 0.5511 GB, free: 13.34 MB / 426.7 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.0007034/0.1394, allocations: 0.4904 MB / 0.5516 GB, free: 12.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1395, allocations: 8.031 kB / 0.5516 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.1395, allocations: 42.73 kB / 0.5516 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.1396, allocations: 12.84 kB / 0.5517 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.1397, allocations: 137.7 kB / 0.5518 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1397, allocations: 11.94 kB / 0.5518 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.1397, allocations: 0 / 0.5518 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1399, allocations: 159.3 kB / 0.552 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1399, allocations: 0 / 0.552 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-06/0.1399, allocations: 7.938 kB / 0.552 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1399, allocations: 3.984 kB / 0.552 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.396e-05/0.14, allocations: 133.6 kB / 0.5521 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.1402, allocations: 160.6 kB / 0.5522 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1403, allocations: 144.2 kB / 0.5524 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.623e-05/0.1404, allocations: 130.5 kB / 0.5525 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.1404, allocations: 0 / 0.5525 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1404, allocations: 34.56 kB / 0.5525 GB, free: 11.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 9.92e-07/0.1404, allocations: 0 / 0.5525 GB, free: 11.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004146/0.1408, allocations: 482 kB / 0.553 GB, free: 11.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.1409, allocations: 97.09 kB / 0.5531 GB, free: 11.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.388e-05/0.141, allocations: 146.2 kB / 0.5532 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.141, allocations: 29.73 kB / 0.5533 GB, free: 10.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.141, allocations: 100.6 kB / 0.5534 GB, free: 10.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.1411, allocations: 87.25 kB / 0.5534 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.1411, allocations: 25.72 kB / 0.5535 GB, free: 10.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.879e-05/0.1412, allocations: 334.8 kB / 0.5538 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.1413, allocations: 121.7 kB / 0.5539 GB, free: 10.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.1414, allocations: 140.9 kB / 0.554 GB, free: 10.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1416, allocations: 288 kB / 0.5543 GB, free: 9.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1416, allocations: 0 / 0.5543 GB, free: 9.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002227/0.1418, allocations: 320.8 kB / 0.5546 GB, free: 9.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.1419, allocations: 69.66 kB / 0.5547 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1419, allocations: 4.062 kB / 0.5547 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1419, allocations: 0 / 0.5547 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.1419, allocations: 4 kB / 0.5547 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1419, allocations: 0 / 0.5547 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.1419, allocations: 11.89 kB / 0.5547 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.1419, allocations: 8 kB / 0.5547 GB, free: 9.379 MB / 426.7 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.0001165/0.1421, allocations: 191.4 kB / 0.5549 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.1421, allocations: 19.91 kB / 0.5549 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.1421, allocations: 17.27 kB / 0.5549 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1421, allocations: 3.938 kB / 0.5549 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1421, allocations: 4 kB / 0.5549 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1421, allocations: 0 / 0.5549 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.1422, allocations: 168.5 kB / 0.5551 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.1422, allocations: 0 / 0.5551 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1422, allocations: 0 / 0.5551 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1422, allocations: 0 / 0.5551 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1422, allocations: 4 kB / 0.5551 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.1422, allocations: 0 / 0.5551 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.1422, allocations: 0 / 0.5551 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.1426, allocations: 0.5288 MB / 0.5556 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.1426, allocations: 11.91 kB / 0.5556 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.1426, allocations: 8.031 kB / 0.5556 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.223e-05/0.1427, allocations: 4 kB / 0.5556 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.1427, allocations: 4 kB / 0.5556 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1427, allocations: 8 kB / 0.5556 GB, free: 8.324 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.225e-05/0.1427, allocations: 119.1 kB / 0.5558 GB, free: 8.207 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1427, allocations: 0 / 0.5558 GB, free: 8.207 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000442/0.1432, allocations: 339.3 kB / 0.5561 GB, free: 7.875 MB / 426.7 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.001111/0.1443, allocations: 1.333 MB / 0.5574 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003865/0.1447, allocations: 0.4986 MB / 0.5579 GB, free: 5.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1447, allocations: 0 / 0.5579 GB, free: 5.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004742/0.1452, allocations: 293 kB / 0.5582 GB, free: 5.676 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.1453, allocations: 12 kB / 0.5582 GB, free: 5.664 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.1474, allocations: 2.946 MB / 0.561 GB, free: 2.598 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.731e-05/0.1475, allocations: 122.1 kB / 0.5612 GB, free: 2.457 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.346e-05/0.1475, allocations: 3.938 kB / 0.5612 GB, free: 2.453 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.1475, allocations: 35.42 kB / 0.5612 GB, free: 2.418 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1475, allocations: 0 / 0.5612 GB, free: 2.418 MB / 426.7 MB [CodegenCFunctions.tpl:5658:13-5658: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.5634253891184926]