Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001545/0.001545, allocations: 123.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.001725/0.001725, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.58/1.58, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.1988/0.1988, allocations: 38.5 MB / 348.7 MB, free: 2.672 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/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.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",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.001911/0.001911, allocations: 67.89 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1299, allocations: 62.41 MB / 0.5367 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003777/0.1337, allocations: 2.181 MB / 0.5388 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.1372, allocations: 2.1 MB / 0.5409 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.1372, allocations: 0 / 0.5409 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.1374, allocations: 7.922 kB / 0.5409 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.1375, allocations: 47.73 kB / 0.5409 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.1398, allocations: 0.8261 MB / 0.5417 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1399, allocations: 99.61 kB / 0.5418 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.14, allocations: 3.984 kB / 0.5418 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.1402, allocations: 47.83 kB / 0.5419 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1403, allocations: 59.75 kB / 0.5419 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1404, allocations: 4 kB / 0.5419 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.1429, allocations: 1.587 MB / 0.5435 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.1429, allocations: 31.89 kB / 0.5435 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.143, allocations: 39.75 kB / 0.5435 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.1449, allocations: 1.34 MB / 0.5448 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1449, allocations: 0 / 0.5448 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1449, allocations: 0 / 0.5448 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1449, allocations: 4 kB / 0.5448 GB, free: 15.14 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001177/0.1461, allocations: 0.5461 MB / 0.5454 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1462, allocations: 12.03 kB / 0.5454 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.345e-05/0.1462, allocations: 70.52 kB / 0.5455 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.1463, allocations: 12.84 kB / 0.5455 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1465, allocations: 200.1 kB / 0.5457 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1465, allocations: 11.94 kB / 0.5457 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.1466, allocations: 4 kB / 0.5457 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.1469, allocations: 126.3 kB / 0.5458 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1469, allocations: 4 kB / 0.5458 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1469, allocations: 4 kB / 0.5458 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.147, allocations: 4 kB / 0.5458 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1471, allocations: 76.06 kB / 0.5459 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.1476, allocations: 365 kB / 0.5462 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1477, allocations: 58.48 kB / 0.5463 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.1478, allocations: 48.88 kB / 0.5463 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-06/0.1478, allocations: 4 kB / 0.5463 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.1478, allocations: 34.55 kB / 0.5464 GB, free: 13.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1478, allocations: 0 / 0.5464 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000402/0.1482, allocations: 219.2 kB / 0.5466 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.1483, allocations: 85.11 kB / 0.5467 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1485, allocations: 153.1 kB / 0.5468 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1485, allocations: 29.64 kB / 0.5468 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.1486, allocations: 131.8 kB / 0.547 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.1486, allocations: 43.59 kB / 0.547 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.1487, allocations: 21.72 kB / 0.547 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1488, allocations: 322.8 kB / 0.5473 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.1489, allocations: 39.97 kB / 0.5474 GB, free: 12.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.1489, allocations: 39.97 kB / 0.5474 GB, free: 12.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.1492, allocations: 179.7 kB / 0.5476 GB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1492, allocations: 3.938 kB / 0.5476 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003752/0.1495, allocations: 183.2 kB / 0.5478 GB, free: 11.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/0.1496, allocations: 53.73 kB / 0.5478 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1496, allocations: 0 / 0.5478 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1496, allocations: 0 / 0.5478 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.1496, allocations: 0 / 0.5478 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1496, allocations: 4 kB / 0.5478 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.1497, allocations: 3.938 kB / 0.5478 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.1497, allocations: 8 kB / 0.5478 GB, free: 11.82 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.0001824/0.1499, allocations: 179.4 kB / 0.548 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.1499, allocations: 15.91 kB / 0.548 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.15, allocations: 12.84 kB / 0.548 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.15, allocations: 3.984 kB / 0.548 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.15, allocations: 0 / 0.548 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.15, allocations: 0 / 0.548 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1502, allocations: 213.5 kB / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1502, allocations: 0 / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.1502, allocations: 0 / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1502, allocations: 0 / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1502, allocations: 4 kB / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1502, allocations: 0 / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1502, allocations: 0 / 0.5482 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006066/0.1508, allocations: 376.9 kB / 0.5486 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.1509, allocations: 92.95 kB / 0.5487 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1509, allocations: 4 kB / 0.5487 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.151, allocations: 3.984 kB / 0.5487 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.151, allocations: 4 kB / 0.5487 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.151, allocations: 4 kB / 0.5487 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.693e-05/0.1511, allocations: 119.2 kB / 0.5488 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1511, allocations: 8.031 kB / 0.5488 GB, free: 10.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001275/0.1524, allocations: 331.3 kB / 0.5491 GB, free: 10.38 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.002669/0.1551, allocations: 1.291 MB / 0.5504 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.1556, allocations: 239.3 kB / 0.5506 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1556, allocations: 0 / 0.5506 GB, free: 8.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.1558, allocations: 163.3 kB / 0.5508 GB, free: 8.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1563, allocations: 18.52 kB / 0.5508 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.1604, allocations: 2.316 MB / 0.5531 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.161, allocations: 0.7352 MB / 0.5538 GB, free: 5.453 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.713e-05/0.161, allocations: 4 kB / 0.5538 GB, free: 5.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.1612, allocations: 35.42 kB / 0.5538 GB, free: 5.414 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1612, allocations: 0 / 0.5538 GB, free: 5.414 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.0709581620030804] Failed to read output from testmodel.py, exit status != 0: 0.20344089000718668 0.22658386300000002 0.07733682900000001 Calling exit ...