Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.002019/0.002019, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002392/0.002392, allocations: 211.2 kB / 20.75 MB, free: 2.27 MB / 14.72 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.514/1.514, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.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.186/0.186, allocations: 38.51 MB / 348.7 MB, free: 2.633 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.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",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.002066/0.002066, allocations: 64.14 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1163, allocations: 62.43 MB / 0.5367 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003883/0.1202, allocations: 2.122 MB / 0.5388 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003428/0.1236, allocations: 2.093 MB / 0.5408 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.1236, allocations: 0 / 0.5408 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.1238, allocations: 11.92 kB / 0.5408 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.46e-05/0.1238, allocations: 27.83 kB / 0.5408 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.1261, allocations: 0.8344 MB / 0.5417 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.1263, allocations: 79.62 kB / 0.5417 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.1263, allocations: 8.172 kB / 0.5417 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.1264, allocations: 39.84 kB / 0.5418 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/0.1265, allocations: 47.81 kB / 0.5418 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1265, allocations: 4 kB / 0.5418 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.1289, allocations: 1.61 MB / 0.5434 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.172e-05/0.129, allocations: 27.92 kB / 0.5434 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.129, allocations: 19.81 kB / 0.5435 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.1308, allocations: 1.344 MB / 0.5448 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1308, allocations: 0 / 0.5448 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1308, allocations: 0 / 0.5448 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1308, allocations: 0 / 0.5448 GB, free: 15.23 MB / 414.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.0008075/0.1316, allocations: 0.5268 MB / 0.5453 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1316, allocations: 12.03 kB / 0.5453 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.939e-05/0.1317, allocations: 30.75 kB / 0.5453 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.1317, allocations: 12.89 kB / 0.5453 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.1319, allocations: 191.2 kB / 0.5455 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1319, allocations: 7.984 kB / 0.5455 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.132, allocations: 0 / 0.5455 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1321, allocations: 69.66 kB / 0.5456 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1321, allocations: 4 kB / 0.5456 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1321, allocations: 0 / 0.5456 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.1321, allocations: 0 / 0.5456 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.084e-05/0.1322, allocations: 35.92 kB / 0.5456 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.1324, allocations: 177.5 kB / 0.5458 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.635e-05/0.1325, allocations: 50.5 kB / 0.5458 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/0.1326, allocations: 36.88 kB / 0.5459 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.1326, allocations: 0 / 0.5459 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1326, allocations: 34.56 kB / 0.5459 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 8.71e-07/0.1326, allocations: 0 / 0.5459 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003533/0.133, allocations: 191.3 kB / 0.5461 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.133, allocations: 97.08 kB / 0.5462 GB, free: 13.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1331, allocations: 128.6 kB / 0.5463 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1332, allocations: 25.7 kB / 0.5463 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.1332, allocations: 96.12 kB / 0.5464 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.1333, allocations: 43.62 kB / 0.5465 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1333, allocations: 17.72 kB / 0.5465 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1335, allocations: 326.8 kB / 0.5468 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.1335, allocations: 32.2 kB / 0.5468 GB, free: 12.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.1336, allocations: 43.91 kB / 0.5469 GB, free: 12.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.1338, allocations: 156.7 kB / 0.547 GB, free: 12.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1338, allocations: 0 / 0.547 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000227/0.134, allocations: 159.2 kB / 0.5472 GB, free: 12.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.307e-05/0.1341, allocations: 49.62 kB / 0.5472 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1341, allocations: 0 / 0.5472 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1341, allocations: 0 / 0.5472 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1341, allocations: 0 / 0.5472 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1341, allocations: 7.938 kB / 0.5472 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.1341, allocations: 11.83 kB / 0.5472 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1342, allocations: 12.05 kB / 0.5472 GB, free: 12.41 MB / 414.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.0001455/0.1343, allocations: 167.5 kB / 0.5474 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.1343, allocations: 11.95 kB / 0.5474 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.1343, allocations: 8.719 kB / 0.5474 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1343, allocations: 0 / 0.5474 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1343, allocations: 3.938 kB / 0.5474 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1343, allocations: 3.938 kB / 0.5474 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1345, allocations: 177.6 kB / 0.5476 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1345, allocations: 0 / 0.5476 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1345, allocations: 4 kB / 0.5476 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.1345, allocations: 0 / 0.5476 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1345, allocations: 4 kB / 0.5476 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1345, allocations: 0 / 0.5476 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1345, allocations: 4 kB / 0.5476 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.1349, allocations: 290.5 kB / 0.5479 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.135, allocations: 89 kB / 0.548 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.135, allocations: 0 / 0.548 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.092e-05/0.135, allocations: 12.03 kB / 0.548 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.135, allocations: 11.98 kB / 0.548 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.135, allocations: 7.938 kB / 0.548 GB, free: 11.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.032e-05/0.1351, allocations: 95.27 kB / 0.5481 GB, free: 11.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1351, allocations: 0 / 0.5481 GB, free: 11.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008446/0.136, allocations: 323.4 kB / 0.5484 GB, free: 11.11 MB / 414.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.001628/0.1376, allocations: 1.081 MB / 0.5495 GB, free: 9.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000356/0.138, allocations: 243.2 kB / 0.5497 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.138, allocations: 0 / 0.5497 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.1382, allocations: 159.3 kB / 0.5498 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.1384, allocations: 10.86 kB / 0.5499 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.1407, allocations: 1.958 MB / 0.5518 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.141, allocations: 0.708 MB / 0.5525 GB, free: 6.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.448e-05/0.1411, allocations: 3.984 kB / 0.5525 GB, free: 6.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.1411, allocations: 31.31 kB / 0.5525 GB, free: 6.754 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1411, allocations: 0 / 0.5525 GB, free: 6.754 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: 2.8541166679933667] Failed to read output from testmodel.py, exit status != 0: 0.17061226489022374 0.185925259 0.052120329 Calling exit ...