Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0009964/0.0009964, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008675/0.0008675, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.9172/0.9172, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2227/0.2227, allocations: 29.4 MB / 290.1 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.093e-06/2.093e-06, allocations: 0 / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.941e-05, allocations: 2.281 kB / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.004375/0.004405, allocations: 2.23 MB / 432.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.00772, allocations: 1.918 MB / 434.4 MB, free: 9.387 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.0078, allocations: 4 kB / 434.4 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.007964, allocations: 7.922 kB / 434.4 MB, free: 9.375 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.008093, allocations: 39.75 kB / 434.4 MB, free: 9.336 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002692/0.01079, allocations: 0.9614 MB / 435.4 MB, free: 8.375 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.01097, allocations: 103.5 kB / 435.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.01103, allocations: 3.859 kB / 435.5 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.01119, allocations: 51.88 kB / 435.5 MB, free: 8.219 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.702e-05/0.01128, allocations: 55.8 kB / 435.6 MB, free: 8.164 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.01129, allocations: 4 kB / 435.6 MB, free: 8.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.01313, allocations: 1.851 MB / 437.4 MB, free: 6.305 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.01318, allocations: 35.91 kB / 437.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.01322, allocations: 27.92 kB / 437.5 MB, free: 6.242 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.0145, allocations: 1.477 MB / 439 MB, free: 4.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.01451, allocations: 3.938 kB / 439 MB, free: 4.758 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01451, allocations: 4 kB / 439 MB, free: 4.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.01451, allocations: 0 / 439 MB, free: 4.754 MB / 410.7 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.000515/0.01503, allocations: 482.1 kB / 439.5 MB, free: 4.246 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.01507, allocations: 15.98 kB / 439.5 MB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.865e-05/0.01514, allocations: 66.48 kB / 439.5 MB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.01517, allocations: 16.84 kB / 439.6 MB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.01533, allocations: 153.5 kB / 439.7 MB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.01534, allocations: 384 / 439.7 MB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.01535, allocations: 12.38 kB / 439.7 MB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.01556, allocations: 175.2 kB / 439.9 MB, free: 3.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.01557, allocations: 0 / 439.9 MB, free: 3.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.01558, allocations: 4 kB / 439.9 MB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.01559, allocations: 0 / 439.9 MB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.917e-05/0.01568, allocations: 117.9 kB / 440 MB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.01603, allocations: 328.1 kB / 440.3 MB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.01613, allocations: 108.2 kB / 440.4 MB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.0162, allocations: 86.56 kB / 440.5 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/0.0162, allocations: 0 / 440.5 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.01622, allocations: 38.5 kB / 440.6 MB, free: 3.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.01622, allocations: 0 / 440.6 MB, free: 3.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003171/0.01654, allocations: 326.7 kB / 440.9 MB, free: 2.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.01658, allocations: 93.09 kB / 441 MB, free: 2.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.01667, allocations: 152.9 kB / 441.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.01668, allocations: 25.7 kB / 441.1 MB, free: 2.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.01673, allocations: 120 kB / 441.3 MB, free: 2.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.01676, allocations: 47.53 kB / 441.3 MB, free: 2.215 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.0168, allocations: 21.7 kB / 441.3 MB, free: 2.188 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.01688, allocations: 326.8 kB / 441.7 MB, free: 1.859 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.01695, allocations: 81.67 kB / 441.7 MB, free: 1.773 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.01701, allocations: 85.66 kB / 441.8 MB, free: 1.684 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.01715, allocations: 196.2 kB / 442 MB, free: 1.477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01715, allocations: 4 kB / 442 MB, free: 1.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001726/0.01732, allocations: 236.2 kB / 442.2 MB, free: 1.227 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.01736, allocations: 52.58 kB / 442.3 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01737, allocations: 4 kB / 442.3 MB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.01738, allocations: 8 kB / 442.3 MB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.01738, allocations: 3.938 kB / 442.3 MB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.01739, allocations: 0 / 442.3 MB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.009e-05/0.01743, allocations: 4 kB / 442.3 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.01744, allocations: 4 kB / 442.3 MB, free: 1.148 MB / 410.7 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 9.43e-05/0.01754, allocations: 171.5 kB / 442.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.01756, allocations: 27.77 kB / 442.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.596e-05/0.01758, allocations: 12.78 kB / 442.5 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.01758, allocations: 0 / 442.5 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01758, allocations: 0 / 442.5 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01758, allocations: 4 kB / 442.5 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.01772, allocations: 172.6 kB / 442.7 MB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01772, allocations: 0 / 442.7 MB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-06/0.01772, allocations: 3.984 kB / 442.7 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01772, allocations: 3.938 kB / 442.7 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.01773, allocations: 8 kB / 442.7 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01774, allocations: 4 kB / 442.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01774, allocations: 0 / 442.7 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.01802, allocations: 406.7 kB / 443.1 MB, free: 268 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.01803, allocations: 15.84 kB / 443.1 MB, free: 252 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.01804, allocations: 7.969 kB / 443.1 MB, free: 244 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.01808, allocations: 4 kB / 443.1 MB, free: 240 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.0181, allocations: 4 kB / 443.1 MB, free: 236 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.01811, allocations: 4 kB / 443.1 MB, free: 232 kB / 410.7 MB Notification: Performance of sorting global known variables: time 5.651e-05/0.01816, allocations: 115.9 kB / 443.3 MB, free: 116 kB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01816, allocations: 0 / 443.3 MB, free: 116 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.1669/0.185, allocations: 337 kB / 443.6 MB, free: 53.91 MB / 410.7 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.00115/0.1862, allocations: 1.416 MB / 445 MB, free: 53.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.1864, allocations: 323.5 kB / 445.3 MB, free: 53.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1864, allocations: 0 / 445.3 MB, free: 53.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.407e-05/0.1865, allocations: 192.3 kB / 445.5 MB, free: 52.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1868, allocations: 22.19 kB / 445.5 MB, free: 52.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1882, allocations: 2.541 MB / 448.1 MB, free: 51.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.938e-05/0.1882, allocations: 115.6 kB / 448.2 MB, free: 51.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.753e-05/0.1882, allocations: 1.844 kB / 448.2 MB, free: 51.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.1883, allocations: 39.33 kB / 448.2 MB, free: 51.38 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1883, allocations: 0 / 448.2 MB, free: 51.38 MB / 410.7 MB [CodegenCFunctions.tpl:5727:13-5727: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: 1.9799839975312352] Failed to read output from testmodel.py, exit status != 0: 0.2064842488616705 0.21187428700000002 0.19583059600000002 Calling exit ...