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.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.001203/0.001203, allocations: 108.9 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.001028/0.001028, allocations: 221.5 kB / 23.73 MB, free: 2.125 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.075/1.075, allocations: 230.6 MB / 257.5 MB, free: 9.602 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.1233/0.1233, allocations: 38.57 MB / 352.5 MB, free: 11.34 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_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",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.001453/0.001453, allocations: 71.89 kB / 493.3 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1259, allocations: 62.48 MB / 0.5427 GB, free: 5.988 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002847/0.1287, allocations: 2.168 MB / 0.5449 GB, free: 3.797 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.131, allocations: 1.903 MB / 0.5467 GB, free: 1.883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.131, allocations: 0 / 0.5467 GB, free: 1.883 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.1312, allocations: 11.92 kB / 0.5467 GB, free: 1.871 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.976e-05/0.1313, allocations: 27.83 kB / 0.5468 GB, free: 1.844 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.1328, allocations: 0.9591 MB / 0.5477 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.1329, allocations: 75.69 kB / 0.5478 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.133, allocations: 8.172 kB / 0.5478 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1331, allocations: 43.83 kB / 0.5478 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.362e-05/0.1331, allocations: 43.77 kB / 0.5479 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1332, allocations: 8 kB / 0.5479 GB, free: 0.707 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.135, allocations: 1.894 MB / 0.5497 GB, free: 14.81 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.1351, allocations: 23.91 kB / 0.5497 GB, free: 14.79 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.1351, allocations: 19.86 kB / 0.5498 GB, free: 14.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.1362, allocations: 1.332 MB / 0.5511 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1362, allocations: 0 / 0.5511 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1362, allocations: 4 kB / 0.5511 GB, free: 13.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1362, allocations: 0 / 0.5511 GB, free: 13.43 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004743/0.1366, allocations: 466.4 kB / 0.5515 GB, free: 12.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1367, allocations: 11.97 kB / 0.5515 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.1367, allocations: 34.75 kB / 0.5515 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.1367, allocations: 4.891 kB / 0.5516 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.1369, allocations: 141.4 kB / 0.5517 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.1369, allocations: 0 / 0.5517 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.1369, allocations: 0 / 0.5517 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1371, allocations: 119.3 kB / 0.5518 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1371, allocations: 0 / 0.5518 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1371, allocations: 0 / 0.5518 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1371, allocations: 4 kB / 0.5518 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.858e-05/0.1372, allocations: 77.67 kB / 0.5519 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.1373, allocations: 148.6 kB / 0.552 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.1374, allocations: 96.25 kB / 0.5521 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.728e-05/0.1374, allocations: 78.56 kB / 0.5522 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.1375, allocations: 0 / 0.5522 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1375, allocations: 38.5 kB / 0.5522 GB, free: 12.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.1375, allocations: 4 kB / 0.5522 GB, free: 12.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002989/0.1378, allocations: 290.8 kB / 0.5525 GB, free: 11.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.1378, allocations: 93.11 kB / 0.5526 GB, free: 11.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.1379, allocations: 125.9 kB / 0.5527 GB, free: 11.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1379, allocations: 29.7 kB / 0.5527 GB, free: 11.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.138, allocations: 96.12 kB / 0.5528 GB, free: 11.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.138, allocations: 43.62 kB / 0.5529 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.138, allocations: 17.72 kB / 0.5529 GB, free: 11.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.1381, allocations: 330.8 kB / 0.5532 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.1382, allocations: 77.67 kB / 0.5533 GB, free: 10.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.1384, allocations: 81.61 kB / 0.5534 GB, free: 10.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1385, allocations: 180.6 kB / 0.5535 GB, free: 10.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1385, allocations: 0 / 0.5535 GB, free: 10.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001574/0.1386, allocations: 212.9 kB / 0.5537 GB, free: 10.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.1387, allocations: 57.69 kB / 0.5538 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1387, allocations: 0 / 0.5538 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1387, allocations: 0 / 0.5538 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.1387, allocations: 0 / 0.5538 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1387, allocations: 0 / 0.5538 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.1387, allocations: 15.83 kB / 0.5538 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.1388, allocations: 7.984 kB / 0.5538 GB, free: 10.31 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 9.637e-05/0.1389, allocations: 163.5 kB / 0.554 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.1389, allocations: 11.95 kB / 0.554 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.9e-05/0.1389, allocations: 8.703 kB / 0.554 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1389, allocations: 4 kB / 0.554 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1389, allocations: 3.938 kB / 0.554 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1389, allocations: 7.875 kB / 0.554 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.711e-05/0.139, allocations: 144.7 kB / 0.5541 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.139, allocations: 0 / 0.5541 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.139, allocations: 0 / 0.5541 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.139, allocations: 0 / 0.5541 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.139, allocations: 4 kB / 0.5541 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.139, allocations: 3.984 kB / 0.5541 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.139, allocations: 0 / 0.5541 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.1394, allocations: 328.3 kB / 0.5545 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.1394, allocations: 15.92 kB / 0.5545 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.1395, allocations: 11.92 kB / 0.5545 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.097e-05/0.1395, allocations: 4 kB / 0.5545 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.1395, allocations: 0 / 0.5545 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1396, allocations: 7.938 kB / 0.5545 GB, free: 9.512 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.757e-05/0.1396, allocations: 106.2 kB / 0.5546 GB, free: 9.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1396, allocations: 0 / 0.5546 GB, free: 9.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007604/0.1404, allocations: 323.4 kB / 0.5549 GB, free: 9.094 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.001493/0.1419, allocations: 1.118 MB / 0.556 GB, free: 7.938 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.1422, allocations: 310.7 kB / 0.5563 GB, free: 7.609 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1422, allocations: 0 / 0.5563 GB, free: 7.609 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1423, allocations: 193 kB / 0.5565 GB, free: 7.402 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.1426, allocations: 18.59 kB / 0.5565 GB, free: 7.387 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.1446, allocations: 2.189 MB / 0.5586 GB, free: 5.078 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.46e-05/0.1446, allocations: 91.59 kB / 0.5587 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.115e-05/0.1446, allocations: 0 / 0.5587 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.1447, allocations: 19.42 kB / 0.5587 GB, free: 4.949 MB / 426.7 MB Notification: Performance of SimCode: time 2.344e-06/0.1447, allocations: 0 / 0.5587 GB, free: 4.949 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.711562837474048]