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.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.0009209/0.0009209, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008891/0.0008891, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9267/0.9267, allocations: 177.1 MB / 204.3 MB, free: 5.699 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.2357/0.2357, allocations: 29.41 MB / 290.1 MB, free: 2.449 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.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 1.893e-06/1.893e-06, allocations: 0 / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.835e-05, allocations: 2.281 kB / 430.2 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.0026/0.002618, allocations: 2.23 MB / 432.5 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003797, allocations: 1.04 MB / 433.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.137e-05/0.003849, allocations: 0 / 433.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.003982, allocations: 15.91 kB / 433.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.892e-05/0.004081, allocations: 55.67 kB / 433.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008299/0.004911, allocations: 341.7 kB / 433.9 MB, free: 9.867 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.005046, allocations: 119.5 kB / 434 MB, free: 9.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.005086, allocations: 4 kB / 434 MB, free: 9.746 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.005225, allocations: 63.8 kB / 434.1 MB, free: 9.684 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.005316, allocations: 71.77 kB / 434.2 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.005327, allocations: 4 kB / 434.2 MB, free: 9.609 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005833/0.00591, allocations: 0.5572 MB / 434.7 MB, free: 9.051 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.005969, allocations: 47.88 kB / 434.8 MB, free: 9.004 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.006006, allocations: 23.94 kB / 434.8 MB, free: 8.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.006516, allocations: 0.5571 MB / 435.3 MB, free: 8.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006519, allocations: 0 / 435.3 MB, free: 8.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.00652, allocations: 3.938 kB / 435.3 MB, free: 8.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.006525, allocations: 0 / 435.3 MB, free: 8.418 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003756/0.0069, allocations: 399.1 kB / 435.7 MB, free: 7.992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.00694, allocations: 11.98 kB / 435.7 MB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.609e-05/0.007007, allocations: 70.52 kB / 435.8 MB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.00704, allocations: 20.84 kB / 435.8 MB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.007194, allocations: 149.4 kB / 436 MB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.007206, allocations: 8.375 kB / 436 MB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.007219, allocations: 4.375 kB / 436 MB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.00742, allocations: 199.6 kB / 436.2 MB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.007428, allocations: 0 / 436.2 MB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.007436, allocations: 0 / 436.2 MB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.007443, allocations: 4 kB / 436.2 MB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.00755, allocations: 141.6 kB / 436.3 MB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.007864, allocations: 307.7 kB / 436.6 MB, free: 7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.007971, allocations: 128.2 kB / 436.8 MB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.008049, allocations: 122.5 kB / 436.9 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.008055, allocations: 0 / 436.9 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.008074, allocations: 30.56 kB / 436.9 MB, free: 6.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 8.22e-07/0.008075, allocations: 0 / 436.9 MB, free: 6.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003798/0.008455, allocations: 429.5 kB / 437.3 MB, free: 6.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.008494, allocations: 93.09 kB / 437.4 MB, free: 6.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.518e-05/0.008569, allocations: 133.8 kB / 437.5 MB, free: 6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.008581, allocations: 29.7 kB / 437.6 MB, free: 5.965 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.008625, allocations: 108.5 kB / 437.7 MB, free: 5.855 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.008663, allocations: 67.38 kB / 437.7 MB, free: 5.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.008695, allocations: 29.75 kB / 437.8 MB, free: 5.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.814e-05/0.008773, allocations: 322.8 kB / 438.1 MB, free: 5.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/0.008855, allocations: 113.6 kB / 438.2 MB, free: 5.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.008926, allocations: 113.6 kB / 438.3 MB, free: 5.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.009086, allocations: 251.2 kB / 438.6 MB, free: 4.938 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.009087, allocations: 0 / 438.6 MB, free: 4.938 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001991/0.009287, allocations: 288.9 kB / 438.8 MB, free: 4.637 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.009324, allocations: 53.67 kB / 438.9 MB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.009329, allocations: 0 / 438.9 MB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.00934, allocations: 11.94 kB / 438.9 MB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.009341, allocations: 3.938 kB / 438.9 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.009345, allocations: 4.062 kB / 438.9 MB, free: 4.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.739e-05/0.009382, allocations: 11.89 kB / 438.9 MB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.009402, allocations: 8 kB / 438.9 MB, free: 4.539 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.623e-05/0.009498, allocations: 183.5 kB / 439.1 MB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.009519, allocations: 15.91 kB / 439.1 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.316e-05/0.009532, allocations: 9.109 kB / 439.1 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.009534, allocations: 3.938 kB / 439.1 MB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.009538, allocations: 7.938 kB / 439.1 MB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.00954, allocations: 0 / 439.1 MB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.009675, allocations: 172.6 kB / 439.3 MB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.009675, allocations: 4 kB / 439.3 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.009676, allocations: 4 kB / 439.3 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.009677, allocations: 0 / 439.3 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.009686, allocations: 4 kB / 439.3 MB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.009688, allocations: 3.938 kB / 439.3 MB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.009689, allocations: 0 / 439.3 MB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.01004, allocations: 0.5026 MB / 439.8 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.01005, allocations: 15.84 kB / 439.8 MB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.01006, allocations: 4 kB / 439.9 MB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.0101, allocations: 7.875 kB / 439.9 MB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.01012, allocations: 11.98 kB / 439.9 MB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01013, allocations: 16.02 kB / 439.9 MB, free: 3.492 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.934e-05/0.01017, allocations: 98.55 kB / 440 MB, free: 3.398 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01017, allocations: 4 kB / 440 MB, free: 3.395 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.01055, allocations: 139.7 kB / 440.1 MB, free: 3.258 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.001001/0.01155, allocations: 1.352 MB / 441.5 MB, free: 1.863 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.0119, allocations: 438.5 kB / 441.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0119, allocations: 0 / 441.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.01205, allocations: 261.1 kB / 442.2 MB, free: 1.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.01226, allocations: 15.94 kB / 442.2 MB, free: 1.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1513/0.1636, allocations: 2.751 MB / 444.9 MB, free: 52.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.369e-05/0.1637, allocations: 119.5 kB / 445 MB, free: 52.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.186e-05/0.1637, allocations: 3.438 kB / 445 MB, free: 52.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.1637, allocations: 34.75 kB / 445.1 MB, free: 52.51 MB / 410.7 MB Notification: Performance of SimCode: time 9.81e-07/0.1637, allocations: 0 / 445.1 MB, free: 52.51 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.969441576860845] Failed to read output from testmodel.py, exit status != 0: 0.17787419632077217 0.18500320099999995 0.17702874899999996 Calling exit ...