Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001322/0.001322, allocations: 123.9 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.001425/0.001425, allocations: 185.2 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.481/1.481, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.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.1878/0.1878, allocations: 38.49 MB / 342.5 MB, free: 8.039 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.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_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 70.55 kB / 478.6 MB, free: 33.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1362, allocations: 61.26 MB / 0.5272 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003947/0.1401, allocations: 2.149 MB / 0.5293 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.142, allocations: 1.08 MB / 0.5304 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.1421, allocations: 4 kB / 0.5304 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.1422, allocations: 11.91 kB / 0.5304 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.1423, allocations: 55.8 kB / 0.5304 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009102/0.1433, allocations: 283.2 kB / 0.5307 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1434, allocations: 115.6 kB / 0.5308 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.1435, allocations: 4.281 kB / 0.5308 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.1436, allocations: 47.81 kB / 0.5309 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1437, allocations: 79.7 kB / 0.531 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1437, allocations: 0 / 0.531 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007025/0.1444, allocations: 486.9 kB / 0.5314 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.1445, allocations: 39.89 kB / 0.5315 GB, free: 13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.1445, allocations: 39.73 kB / 0.5315 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006987/0.1452, allocations: 0.5102 MB / 0.532 GB, free: 12.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1452, allocations: 0 / 0.532 GB, free: 12.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1452, allocations: 0 / 0.532 GB, free: 12.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1453, allocations: 4 kB / 0.532 GB, free: 12.44 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.0006072/0.1459, allocations: 472.2 kB / 0.5324 GB, free: 11.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1459, allocations: 11.89 kB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.146, allocations: 66.56 kB / 0.5325 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.1461, allocations: 20.84 kB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1463, allocations: 196.1 kB / 0.5327 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1463, allocations: 12.31 kB / 0.5327 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.1463, allocations: 11.94 kB / 0.5328 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.1466, allocations: 137.6 kB / 0.5329 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1466, allocations: 0 / 0.5329 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1466, allocations: 0 / 0.5329 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1466, allocations: 4 kB / 0.5329 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1468, allocations: 83.94 kB / 0.533 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.1473, allocations: 352.5 kB / 0.5333 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1474, allocations: 74.48 kB / 0.5334 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.1475, allocations: 60.86 kB / 0.5334 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.1475, allocations: 0 / 0.5334 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1475, allocations: 46.44 kB / 0.5335 GB, free: 10.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 8.52e-07/0.1475, allocations: 0 / 0.5335 GB, free: 10.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005286/0.148, allocations: 298 kB / 0.5338 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.1481, allocations: 93.11 kB / 0.5339 GB, free: 10.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1482, allocations: 136.6 kB / 0.534 GB, free: 10.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1483, allocations: 25.7 kB / 0.534 GB, free: 10.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.1483, allocations: 112.4 kB / 0.5341 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.1484, allocations: 63.44 kB / 0.5342 GB, free: 9.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.1484, allocations: 25.7 kB / 0.5342 GB, free: 9.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1486, allocations: 322.8 kB / 0.5345 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.1487, allocations: 60 kB / 0.5346 GB, free: 9.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.1488, allocations: 63.92 kB / 0.5346 GB, free: 9.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.149, allocations: 226.9 kB / 0.5348 GB, free: 9.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.149, allocations: 4 kB / 0.5348 GB, free: 9.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002723/0.1493, allocations: 227.1 kB / 0.5351 GB, free: 9.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.4e-05/0.1493, allocations: 57.67 kB / 0.5351 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1493, allocations: 0 / 0.5351 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1494, allocations: 0 / 0.5351 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.1494, allocations: 0 / 0.5351 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1494, allocations: 0 / 0.5351 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.1494, allocations: 16.02 kB / 0.5351 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.1494, allocations: 4 kB / 0.5351 GB, free: 8.957 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.0001667/0.1496, allocations: 183.5 kB / 0.5353 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.1496, allocations: 15.89 kB / 0.5353 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.88e-05/0.1497, allocations: 13.12 kB / 0.5353 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1497, allocations: 0 / 0.5353 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1497, allocations: 0 / 0.5353 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1497, allocations: 3.984 kB / 0.5353 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.1499, allocations: 213.5 kB / 0.5355 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1499, allocations: 4 kB / 0.5355 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-06/0.1499, allocations: 3.938 kB / 0.5356 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1499, allocations: 0 / 0.5356 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1499, allocations: 4 kB / 0.5356 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1499, allocations: 0 / 0.5356 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1499, allocations: 0 / 0.5356 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.1505, allocations: 464.9 kB / 0.536 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.1505, allocations: 92.94 kB / 0.5361 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1505, allocations: 7.984 kB / 0.5361 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.1506, allocations: 8.031 kB / 0.5361 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.1506, allocations: 0 / 0.5361 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.1506, allocations: 15.98 kB / 0.5361 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.114e-05/0.1507, allocations: 97.61 kB / 0.5362 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1507, allocations: 3.938 kB / 0.5362 GB, free: 7.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000469/0.1512, allocations: 143.7 kB / 0.5364 GB, free: 7.602 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.001429/0.1526, allocations: 1.232 MB / 0.5376 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004598/0.1531, allocations: 319.2 kB / 0.5379 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1531, allocations: 0 / 0.5379 GB, free: 6.016 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.1533, allocations: 207.3 kB / 0.5381 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.1536, allocations: 24.09 kB / 0.5381 GB, free: 5.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.1564, allocations: 2.469 MB / 0.5405 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.1568, allocations: 0.7314 MB / 0.5412 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.122e-05/0.1568, allocations: 0 / 0.5412 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.1569, allocations: 35.42 kB / 0.5412 GB, free: 2.438 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1569, allocations: 0 / 0.5412 GB, free: 2.438 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: 2.957375119905919] Failed to read output from testmodel.py, exit status != 0: 0.18117936607450247 0.198576297 0.050385294000000004 Calling exit ...