Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 124.8 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 225.6 MB / 249.1 MB, free: 3.625 MB / 190.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.213/0.213, allocations: 38.51 MB / 342.5 MB, free: 8.09 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 68.61 kB / 478.6 MB, free: 33.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.13, allocations: 61.25 MB / 0.5272 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.00459/0.1346, allocations: 2.163 MB / 0.5293 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1365, allocations: 1.076 MB / 0.5304 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.1366, allocations: 0 / 0.5304 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.1368, allocations: 15.92 kB / 0.5304 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.1369, allocations: 63.7 kB / 0.5305 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1381, allocations: 275.3 kB / 0.5307 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.1383, allocations: 115.6 kB / 0.5308 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.195e-05/0.1384, allocations: 8.266 kB / 0.5309 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1385, allocations: 55.75 kB / 0.5309 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1387, allocations: 71.72 kB / 0.531 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.1387, allocations: 4 kB / 0.531 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000831/0.1395, allocations: 483 kB / 0.5314 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.1396, allocations: 27.91 kB / 0.5315 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.1396, allocations: 43.67 kB / 0.5315 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007592/0.1404, allocations: 0.5181 MB / 0.532 GB, free: 12.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1404, allocations: 0 / 0.532 GB, free: 12.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1404, allocations: 0 / 0.532 GB, free: 12.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1404, allocations: 0 / 0.532 GB, free: 12.46 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006242/0.141, allocations: 472.2 kB / 0.5325 GB, free: 11.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1411, allocations: 15.89 kB / 0.5325 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.996e-05/0.1412, allocations: 66.59 kB / 0.5325 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.1412, allocations: 12.84 kB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1415, allocations: 204.1 kB / 0.5327 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1415, allocations: 4.375 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1415, allocations: 11.94 kB / 0.5328 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1418, allocations: 129.6 kB / 0.5329 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1418, allocations: 0 / 0.5329 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1418, allocations: 11.94 kB / 0.5329 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1418, allocations: 0 / 0.5329 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1419, allocations: 87.94 kB / 0.533 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.1424, allocations: 352.5 kB / 0.5333 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.1425, allocations: 74.55 kB / 0.5334 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/0.1426, allocations: 64.8 kB / 0.5335 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-06/0.1426, allocations: 0 / 0.5335 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1426, allocations: 38.48 kB / 0.5335 GB, free: 10.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 9.62e-07/0.1426, allocations: 0 / 0.5335 GB, free: 10.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005378/0.1432, allocations: 302.1 kB / 0.5338 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.1432, allocations: 93.09 kB / 0.5339 GB, free: 10.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1434, allocations: 136.3 kB / 0.534 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1434, allocations: 25.7 kB / 0.534 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.1435, allocations: 108.4 kB / 0.5341 GB, free: 10.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.877e-05/0.1435, allocations: 59.44 kB / 0.5342 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.1436, allocations: 29.7 kB / 0.5342 GB, free: 9.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1437, allocations: 326.8 kB / 0.5345 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.1438, allocations: 56 kB / 0.5346 GB, free: 9.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-05/0.1439, allocations: 63.91 kB / 0.5346 GB, free: 9.531 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.1441, allocations: 228.1 kB / 0.5349 GB, free: 9.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1441, allocations: 0 / 0.5349 GB, free: 9.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002765/0.1444, allocations: 225.9 kB / 0.5351 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.998e-05/0.1445, allocations: 53.67 kB / 0.5351 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1445, allocations: 4 kB / 0.5351 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1445, allocations: 0 / 0.5351 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.865e-06/0.1445, allocations: 4 kB / 0.5351 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1445, allocations: 3.984 kB / 0.5351 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.1446, allocations: 12.02 kB / 0.5351 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.1446, allocations: 11.98 kB / 0.5352 GB, free: 8.969 MB / 398.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.0002016/0.1448, allocations: 175.5 kB / 0.5353 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.1448, allocations: 27.83 kB / 0.5353 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.1449, allocations: 9.172 kB / 0.5354 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.1449, allocations: 0 / 0.5354 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1449, allocations: 0 / 0.5354 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1449, allocations: 4 kB / 0.5354 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.1451, allocations: 209.5 kB / 0.5356 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1451, allocations: 4 kB / 0.5356 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-06/0.1451, allocations: 7.922 kB / 0.5356 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1451, allocations: 0 / 0.5356 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1451, allocations: 8 kB / 0.5356 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1451, allocations: 0 / 0.5356 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1451, allocations: 3.938 kB / 0.5356 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.1457, allocations: 452.9 kB / 0.536 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.1457, allocations: 92.94 kB / 0.5361 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.1458, allocations: 16.02 kB / 0.5361 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.1458, allocations: 4 kB / 0.5361 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.1458, allocations: 4 kB / 0.5361 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1459, allocations: 7.938 kB / 0.5361 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.496e-05/0.1459, allocations: 105.1 kB / 0.5362 GB, free: 7.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1459, allocations: 0 / 0.5362 GB, free: 7.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004983/0.1464, allocations: 143.7 kB / 0.5364 GB, free: 7.613 MB / 398.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.001447/0.1479, allocations: 1.235 MB / 0.5376 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.1483, allocations: 323.2 kB / 0.5379 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1483, allocations: 0 / 0.5379 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.1486, allocations: 203.4 kB / 0.5381 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.1489, allocations: 20.08 kB / 0.5381 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.1517, allocations: 2.45 MB / 0.5405 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1521, allocations: 0.7275 MB / 0.5412 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.401e-05/0.1521, allocations: 4 kB / 0.5412 GB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.1521, allocations: 31.42 kB / 0.5412 GB, free: 2.469 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1521, allocations: 0 / 0.5412 GB, free: 2.469 MB / 398.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.1735142106190324] Failed to read output from testmodel.py, exit status != 0: 0.17754305992275476 0.194133146 0.050431100000000006 Calling exit ...