Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001313/0.001313, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00148/0.00148, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.552/1.552, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.1976/0.1976, allocations: 38.52 MB / 348.7 MB, free: 2.68 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_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",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.002103/0.002103, allocations: 71.89 kB / 487.2 MB, free: 22.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1319, allocations: 62.41 MB / 0.5367 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003834/0.1357, allocations: 2.141 MB / 0.5388 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003834/0.1396, allocations: 2.082 MB / 0.5408 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.1396, allocations: 3.938 kB / 0.5408 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.1398, allocations: 15.86 kB / 0.5408 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.1399, allocations: 27.83 kB / 0.5409 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.1426, allocations: 0.8305 MB / 0.5417 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1428, allocations: 79.69 kB / 0.5417 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.1429, allocations: 12.16 kB / 0.5418 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.143, allocations: 39.83 kB / 0.5418 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.1431, allocations: 55.75 kB / 0.5419 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1431, allocations: 0 / 0.5419 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.1457, allocations: 1.614 MB / 0.5434 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.1458, allocations: 27.86 kB / 0.5435 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.1459, allocations: 47.67 kB / 0.5435 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.1479, allocations: 1.364 MB / 0.5448 GB, free: 15.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1479, allocations: 4 kB / 0.5448 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1479, allocations: 0 / 0.5448 GB, free: 15.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1479, allocations: 0 / 0.5448 GB, free: 15.21 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007795/0.1487, allocations: 0.5578 MB / 0.5454 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.1487, allocations: 12.03 kB / 0.5454 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.1488, allocations: 46.67 kB / 0.5454 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.1488, allocations: 12.84 kB / 0.5454 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.1491, allocations: 203.5 kB / 0.5456 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-06/0.1491, allocations: 0 / 0.5456 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1491, allocations: 0 / 0.5456 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1493, allocations: 97.66 kB / 0.5457 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1493, allocations: 3.984 kB / 0.5457 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1493, allocations: 0 / 0.5457 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1493, allocations: 0 / 0.5457 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.1494, allocations: 59.97 kB / 0.5458 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.1496, allocations: 189.5 kB / 0.546 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.1497, allocations: 86.48 kB / 0.5461 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.1498, allocations: 64.86 kB / 0.5461 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-06/0.1498, allocations: 0 / 0.5461 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.1499, allocations: 34.56 kB / 0.5462 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.102e-06/0.1499, allocations: 0 / 0.5462 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005632/0.1504, allocations: 326.9 kB / 0.5465 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.1505, allocations: 101 kB / 0.5466 GB, free: 13.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1507, allocations: 151.5 kB / 0.5467 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1507, allocations: 25.7 kB / 0.5467 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.1508, allocations: 100.6 kB / 0.5468 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.402e-05/0.1509, allocations: 79.27 kB / 0.5469 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.1509, allocations: 29.7 kB / 0.5469 GB, free: 12.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1511, allocations: 334.8 kB / 0.5473 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.1512, allocations: 55.97 kB / 0.5473 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-05/0.1513, allocations: 63.91 kB / 0.5474 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.1516, allocations: 264.3 kB / 0.5476 GB, free: 12.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1516, allocations: 0 / 0.5476 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003059/0.1519, allocations: 231.2 kB / 0.5478 GB, free: 11.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.541e-05/0.152, allocations: 69.59 kB / 0.5479 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.152, allocations: 0 / 0.5479 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.152, allocations: 0 / 0.5479 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.497e-06/0.152, allocations: 4 kB / 0.5479 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.152, allocations: 0 / 0.5479 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.1521, allocations: 19.83 kB / 0.5479 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.1521, allocations: 4 kB / 0.5479 GB, free: 11.77 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.0002062/0.1523, allocations: 207.4 kB / 0.5481 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.1523, allocations: 15.91 kB / 0.5481 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.1524, allocations: 13.17 kB / 0.5482 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1524, allocations: 0 / 0.5482 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1524, allocations: 0 / 0.5482 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1524, allocations: 7.984 kB / 0.5482 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.1525, allocations: 201.5 kB / 0.5484 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1525, allocations: 0 / 0.5484 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1525, allocations: 0 / 0.5484 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.1525, allocations: 0 / 0.5484 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1526, allocations: 16 kB / 0.5484 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1526, allocations: 3.984 kB / 0.5484 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1526, allocations: 0 / 0.5484 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/0.1532, allocations: 0.5178 MB / 0.5489 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/0.1533, allocations: 96.94 kB / 0.549 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.1533, allocations: 4 kB / 0.549 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.944e-05/0.1534, allocations: 4 kB / 0.549 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.1534, allocations: 0 / 0.549 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.1534, allocations: 16.03 kB / 0.549 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.609e-05/0.1535, allocations: 115.1 kB / 0.5491 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1535, allocations: 0 / 0.5491 GB, free: 10.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009106/0.1544, allocations: 339.3 kB / 0.5494 GB, free: 10.12 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.001856/0.1563, allocations: 1.338 MB / 0.5507 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.1568, allocations: 459.1 kB / 0.5512 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1568, allocations: 0 / 0.5512 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.1572, allocations: 323.2 kB / 0.5515 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.1574, allocations: 10.58 kB / 0.5515 GB, free: 7.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.1609, allocations: 2.672 MB / 0.5541 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.1615, allocations: 0.7355 MB / 0.5548 GB, free: 4.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.564e-05/0.1615, allocations: 4 kB / 0.5548 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.1616, allocations: 31.42 kB / 0.5549 GB, free: 4.395 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1616, allocations: 0 / 0.5549 GB, free: 4.395 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.968066690955311] Failed to read output from testmodel.py, exit status != 0: 0.19370320672169328 0.208207563 0.057238108 Calling exit ...