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.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.001781/0.001781, allocations: 119.9 kB / 17.79 MB, free: 5.137 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.002012/0.002012, allocations: 185.2 kB / 20.73 MB, free: 2.207 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.516/1.516, allocations: 225.6 MB / 249.1 MB, free: 3.586 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.1953/0.1953, allocations: 38.49 MB / 342.5 MB, free: 8 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.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: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 72.47 kB / 478.6 MB, free: 33.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1266, allocations: 61.25 MB / 0.5272 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.00549/0.1321, allocations: 2.144 MB / 0.5293 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005305/0.1374, allocations: 2.062 MB / 0.5313 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.1375, allocations: 0 / 0.5313 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1377, allocations: 15.91 kB / 0.5313 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1379, allocations: 43.75 kB / 0.5314 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.1411, allocations: 0.8341 MB / 0.5322 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.1413, allocations: 95.61 kB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.1414, allocations: 3.859 kB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1415, allocations: 47.83 kB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1416, allocations: 63.73 kB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1416, allocations: 0 / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.144, allocations: 1.583 MB / 0.534 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.1441, allocations: 35.83 kB / 0.534 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.1442, allocations: 31.75 kB / 0.534 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.1461, allocations: 1.336 MB / 0.5353 GB, free: 8.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1461, allocations: 0 / 0.5353 GB, free: 8.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1461, allocations: 0 / 0.5353 GB, free: 8.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1461, allocations: 0 / 0.5353 GB, free: 8.984 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008387/0.147, allocations: 0.5462 MB / 0.5359 GB, free: 8.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.147, allocations: 11.89 kB / 0.5359 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.778e-05/0.1471, allocations: 62.53 kB / 0.5359 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.1472, allocations: 20.8 kB / 0.5359 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1474, allocations: 211.2 kB / 0.5361 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1475, allocations: 11.88 kB / 0.5362 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1475, allocations: 12 kB / 0.5362 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.1478, allocations: 118.3 kB / 0.5363 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1478, allocations: 0 / 0.5363 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1478, allocations: 0 / 0.5363 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1478, allocations: 4 kB / 0.5363 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.148, allocations: 76.11 kB / 0.5364 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.1486, allocations: 357 kB / 0.5367 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1487, allocations: 66.44 kB / 0.5368 GB, free: 7.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.1488, allocations: 40.86 kB / 0.5368 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.1488, allocations: 0 / 0.5368 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1488, allocations: 34.56 kB / 0.5368 GB, free: 7.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.1488, allocations: 0 / 0.5368 GB, free: 7.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004675/0.1493, allocations: 227.3 kB / 0.5371 GB, free: 7.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/0.1494, allocations: 93.09 kB / 0.5371 GB, free: 6.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1496, allocations: 146.2 kB / 0.5373 GB, free: 6.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.1496, allocations: 33.73 kB / 0.5373 GB, free: 6.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1497, allocations: 112 kB / 0.5374 GB, free: 6.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.831e-05/0.1498, allocations: 51.59 kB / 0.5375 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.1498, allocations: 21.7 kB / 0.5375 GB, free: 6.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.15, allocations: 322.8 kB / 0.5378 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.1501, allocations: 39.97 kB / 0.5378 GB, free: 6.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.1501, allocations: 35.98 kB / 0.5379 GB, free: 6.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.1503, allocations: 172.2 kB / 0.538 GB, free: 5.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1503, allocations: 4.031 kB / 0.538 GB, free: 5.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002518/0.1506, allocations: 190.5 kB / 0.5382 GB, free: 5.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.628e-05/0.1507, allocations: 53.62 kB / 0.5383 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1507, allocations: 0 / 0.5383 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1507, allocations: 0 / 0.5383 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-06/0.1507, allocations: 3.984 kB / 0.5383 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1507, allocations: 0 / 0.5383 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.086e-05/0.1507, allocations: 11.89 kB / 0.5383 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.1508, allocations: 4 kB / 0.5383 GB, free: 5.672 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.0001727/0.151, allocations: 183.5 kB / 0.5385 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.151, allocations: 11.91 kB / 0.5385 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.151, allocations: 8.844 kB / 0.5385 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.151, allocations: 0 / 0.5385 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.151, allocations: 4 kB / 0.5385 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.151, allocations: 3.984 kB / 0.5385 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.1513, allocations: 209.5 kB / 0.5387 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1513, allocations: 4 kB / 0.5387 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-06/0.1513, allocations: 4 kB / 0.5387 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1513, allocations: 3.938 kB / 0.5387 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1513, allocations: 8 kB / 0.5387 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1513, allocations: 0 / 0.5387 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1513, allocations: 0 / 0.5387 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.1517, allocations: 372.9 kB / 0.5391 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/0.1518, allocations: 89 kB / 0.5392 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.1518, allocations: 0 / 0.5392 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.1519, allocations: 4 kB / 0.5392 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.1519, allocations: 8 kB / 0.5392 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.1519, allocations: 8.031 kB / 0.5392 GB, free: 4.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.233e-05/0.152, allocations: 114.5 kB / 0.5393 GB, free: 4.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.152, allocations: 0 / 0.5393 GB, free: 4.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001056/0.1531, allocations: 343.3 kB / 0.5396 GB, free: 4.219 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.001826/0.1549, allocations: 1.286 MB / 0.5409 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.1553, allocations: 243.2 kB / 0.5411 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1553, allocations: 0 / 0.5411 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.1555, allocations: 159.3 kB / 0.5412 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.1559, allocations: 19.94 kB / 0.5413 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.1587, allocations: 2.318 MB / 0.5435 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.1592, allocations: 0.7275 MB / 0.5442 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.203e-05/0.1592, allocations: 0 / 0.5442 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.1593, allocations: 39.42 kB / 0.5443 GB, free: 15.27 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1593, allocations: 0 / 0.5443 GB, free: 15.27 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.017372543923557] Failed to read output from testmodel.py, exit status != 0: 0.19785156100988388 0.21825151 0.06815127600000001 Calling exit ...