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.0009291/0.0009291, 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.0009981/0.0009981, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9707/0.9707, allocations: 177.1 MB / 204.2 MB, free: 5.762 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.2327/0.2327, 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.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.925e-06/2.925e-06, allocations: 4 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.227e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002867/0.00289, allocations: 2.241 MB / 432.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.005407, allocations: 1.91 MB / 434.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.005471, allocations: 3.938 kB / 434.4 MB, free: 9.414 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.005624, allocations: 7.922 kB / 434.4 MB, free: 9.406 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.005734, allocations: 47.73 kB / 434.4 MB, free: 9.359 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.007779, allocations: 0.9575 MB / 435.4 MB, free: 8.402 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.007939, allocations: 103.5 kB / 435.5 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.83e-05/0.007997, allocations: 3.859 kB / 435.5 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.008178, allocations: 51.88 kB / 435.5 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.008271, allocations: 55.81 kB / 435.6 MB, free: 8.191 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.008286, allocations: 0 / 435.6 MB, free: 8.191 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.0102, allocations: 1.855 MB / 437.5 MB, free: 6.332 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.01025, allocations: 31.91 kB / 437.5 MB, free: 6.301 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.01029, allocations: 27.94 kB / 437.5 MB, free: 6.273 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.01223, allocations: 1.477 MB / 439 MB, free: 4.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01223, allocations: 3.938 kB / 439 MB, free: 4.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01223, allocations: 0 / 439 MB, free: 4.789 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.01224, allocations: 0 / 439 MB, free: 4.789 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.0004616/0.0127, allocations: 478.2 kB / 439.5 MB, free: 4.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.01274, allocations: 19.92 kB / 439.5 MB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.683e-05/0.01281, allocations: 66.48 kB / 439.5 MB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.01284, allocations: 12.84 kB / 439.6 MB, free: 4.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.01299, allocations: 153.6 kB / 439.7 MB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.013, allocations: 12.31 kB / 439.7 MB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.01302, allocations: 8.375 kB / 439.7 MB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.01324, allocations: 179.9 kB / 439.9 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.01325, allocations: 0 / 439.9 MB, free: 3.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.01326, allocations: 4 kB / 439.9 MB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.01327, allocations: 0 / 439.9 MB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.01337, allocations: 113.9 kB / 440 MB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.01374, allocations: 320.1 kB / 440.3 MB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.899e-05/0.01383, allocations: 108.2 kB / 440.4 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.0139, allocations: 86.56 kB / 440.5 MB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.01391, allocations: 0 / 440.5 MB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.01393, allocations: 42.5 kB / 440.6 MB, free: 3.055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.01393, allocations: 0 / 440.6 MB, free: 3.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003394/0.01427, allocations: 326.7 kB / 440.9 MB, free: 2.711 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.01432, allocations: 93.09 kB / 441 MB, free: 2.602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.01441, allocations: 149.4 kB / 441.1 MB, free: 2.449 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.01442, allocations: 25.7 kB / 441.1 MB, free: 2.418 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.01448, allocations: 120 kB / 441.3 MB, free: 2.297 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.01452, allocations: 55.45 kB / 441.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.01455, allocations: 25.7 kB / 441.3 MB, free: 2.211 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.01465, allocations: 326.8 kB / 441.7 MB, free: 1.883 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.01471, allocations: 85.7 kB / 441.7 MB, free: 1.793 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.01477, allocations: 81.66 kB / 441.8 MB, free: 1.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.01491, allocations: 196.2 kB / 442 MB, free: 1.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.01491, allocations: 4 kB / 442 MB, free: 1.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001795/0.01509, allocations: 235.5 kB / 442.2 MB, free: 1.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.01513, allocations: 54.39 kB / 442.3 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.01514, allocations: 0 / 442.3 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.01515, allocations: 0 / 442.3 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.01515, allocations: 0 / 442.3 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01516, allocations: 7.875 kB / 442.3 MB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.0152, allocations: 4 kB / 442.3 MB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.01522, allocations: 8.062 kB / 442.3 MB, free: 1.172 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.359e-05/0.01531, allocations: 175.5 kB / 442.5 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.01533, allocations: 19.84 kB / 442.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.513e-05/0.01534, allocations: 12.78 kB / 442.5 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01535, allocations: 0 / 442.5 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01535, allocations: 0 / 442.5 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01535, allocations: 4 kB / 442.5 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.01549, allocations: 172.6 kB / 442.7 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01549, allocations: 3.984 kB / 442.7 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-06/0.01549, allocations: 3.984 kB / 442.7 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01549, allocations: 11.94 kB / 442.7 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.0155, allocations: 4 kB / 442.7 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.0155, allocations: 0 / 442.7 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01551, allocations: 0 / 442.7 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.01578, allocations: 402.8 kB / 443.1 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.01579, allocations: 11.91 kB / 443.1 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.0158, allocations: 7.938 kB / 443.1 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.01585, allocations: 3.938 kB / 443.1 MB, free: 272 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.01586, allocations: 4 kB / 443.1 MB, free: 268 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.01587, allocations: 4 kB / 443.1 MB, free: 264 kB / 410.7 MB Notification: Performance of sorting global known variables: time 5.109e-05/0.01592, allocations: 116.1 kB / 443.3 MB, free: 148 kB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01592, allocations: 4.031 kB / 443.3 MB, free: 144 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.1981/0.214, allocations: 338.4 kB / 443.6 MB, free: 53.95 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.001362/0.2154, allocations: 1.413 MB / 445 MB, free: 53.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.2157, allocations: 321.7 kB / 445.3 MB, free: 53.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2157, allocations: 2.516 kB / 445.3 MB, free: 53.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.2158, allocations: 197.1 kB / 445.5 MB, free: 52.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.2161, allocations: 19.09 kB / 445.5 MB, free: 52.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.2179, allocations: 2.534 MB / 448.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.218e-05/0.2179, allocations: 112.6 kB / 448.2 MB, free: 51.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.458e-05/0.218, allocations: 7.328 kB / 448.2 MB, free: 51.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.218, allocations: 42.28 kB / 448.2 MB, free: 51.41 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.218, allocations: 0 / 448.2 MB, free: 51.41 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: 2.127685179002583] Failed to read output from testmodel.py, exit status != 0: 0.24059711582958698 0.248969556 0.234481659 Calling exit ...