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.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.0009487/0.0009487, 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.0009448/0.0009448, allocations: 174 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.9822/0.9822, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2303/0.2303, allocations: 29.4 MB / 290.1 MB, free: 2.406 MB / 266.7 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.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 431 MB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.899e-05, allocations: 2.281 kB / 431 MB, free: 12.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002409/0.002428, allocations: 2.234 MB / 433.2 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.00441, allocations: 1.91 MB / 435.1 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.004456, allocations: 0 / 435.1 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.004573, allocations: 15.92 kB / 435.2 MB, free: 8.602 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.004654, allocations: 43.67 kB / 435.2 MB, free: 8.559 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.006581, allocations: 0.9466 MB / 436.2 MB, free: 7.609 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.006708, allocations: 103.5 kB / 436.3 MB, free: 7.508 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.006748, allocations: 7.859 kB / 436.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.006876, allocations: 59.8 kB / 436.3 MB, free: 7.441 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.314e-05/0.006949, allocations: 51.81 kB / 436.4 MB, free: 7.391 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.006959, allocations: 0 / 436.4 MB, free: 7.391 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.008693, allocations: 1.851 MB / 438.2 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.008745, allocations: 35.91 kB / 438.3 MB, free: 5.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.008781, allocations: 27.88 kB / 438.3 MB, free: 5.473 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.01013, allocations: 1.485 MB / 439.8 MB, free: 3.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01013, allocations: 0 / 439.8 MB, free: 3.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01013, allocations: 0 / 439.8 MB, free: 3.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.01014, allocations: 0 / 439.8 MB, free: 3.984 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.0004868/0.01062, allocations: 482.2 kB / 440.2 MB, free: 3.477 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.01066, allocations: 15.98 kB / 440.3 MB, free: 3.461 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.41e-05/0.01073, allocations: 66.48 kB / 440.3 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.01076, allocations: 16.84 kB / 440.3 MB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.0109, allocations: 153.5 kB / 440.5 MB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.01091, allocations: 8.375 kB / 440.5 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.01092, allocations: 8.375 kB / 440.5 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.01111, allocations: 168 kB / 440.7 MB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.01112, allocations: 3.984 kB / 440.7 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.01113, allocations: 0 / 440.7 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.01113, allocations: 4 kB / 440.7 MB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.265e-05/0.01123, allocations: 113.9 kB / 440.8 MB, free: 2.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.01154, allocations: 328.1 kB / 441.1 MB, free: 2.516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/0.01163, allocations: 100.2 kB / 441.2 MB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.255e-05/0.0117, allocations: 94.55 kB / 441.3 MB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-06/0.0117, allocations: 0 / 441.3 MB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.01172, allocations: 38.5 kB / 441.3 MB, free: 2.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.01172, allocations: 0 / 441.3 MB, free: 2.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003038/0.01202, allocations: 326.7 kB / 441.7 MB, free: 1.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.01206, allocations: 93.09 kB / 441.7 MB, free: 1.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.01215, allocations: 152.9 kB / 441.9 MB, free: 1.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.01216, allocations: 29.7 kB / 441.9 MB, free: 1.609 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.01221, allocations: 108 kB / 442 MB, free: 1.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.01224, allocations: 55.53 kB / 442.1 MB, free: 1.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.01227, allocations: 21.7 kB / 442.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.01235, allocations: 322.8 kB / 442.4 MB, free: 1.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.01241, allocations: 89.7 kB / 442.5 MB, free: 1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.01247, allocations: 85.66 kB / 442.6 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.0126, allocations: 195 kB / 442.8 MB, free: 0.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.0126, allocations: 0 / 442.8 MB, free: 0.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001658/0.01277, allocations: 232.9 kB / 443 MB, free: 472 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.0128, allocations: 57.61 kB / 443.1 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01281, allocations: 0 / 443.1 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.01282, allocations: 0 / 443.1 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.01282, allocations: 3.938 kB / 443.1 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.01283, allocations: 0 / 443.1 MB, free: 404 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.01286, allocations: 4 kB / 443.1 MB, free: 400 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.01288, allocations: 12 kB / 443.1 MB, free: 388 kB / 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 8.502e-05/0.01296, allocations: 175.5 kB / 443.3 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.01299, allocations: 23.84 kB / 443.3 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.326e-05/0.013, allocations: 12.77 kB / 443.3 MB, free: 156 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.013, allocations: 4 kB / 443.3 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.013, allocations: 0 / 443.3 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.01301, allocations: 0 / 443.3 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.154/0.167, allocations: 169.1 kB / 443.5 MB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.167, allocations: 0.5625 kB / 443.5 MB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-06/0.167, allocations: 0 / 443.5 MB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1671, allocations: 5.281 kB / 443.5 MB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.604e-05/0.1671, allocations: 9.578 kB / 443.5 MB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1671, allocations: 1.625 kB / 443.5 MB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1671, allocations: 3.203 kB / 443.5 MB, free: 54.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1674, allocations: 404.7 kB / 443.9 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.1674, allocations: 15.95 kB / 443.9 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1674, allocations: 3.719 kB / 443.9 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.1674, allocations: 3.25 kB / 443.9 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.1675, allocations: 4.719 kB / 443.9 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1675, allocations: 6.281 kB / 443.9 MB, free: 53.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.229e-05/0.1675, allocations: 118 kB / 444 MB, free: 53.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1675, allocations: 0 / 444 MB, free: 53.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007134/0.1682, allocations: 338.5 kB / 444.4 MB, free: 53.82 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.001002/0.1692, allocations: 1.418 MB / 445.8 MB, free: 53.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.1695, allocations: 319 kB / 446.1 MB, free: 52.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1695, allocations: 0 / 446.1 MB, free: 52.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1696, allocations: 197.1 kB / 446.3 MB, free: 52.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.1698, allocations: 21.14 kB / 446.3 MB, free: 52.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.1713, allocations: 2.546 MB / 448.8 MB, free: 51.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.649e-05/0.1713, allocations: 121 kB / 449 MB, free: 51.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.609e-05/0.1713, allocations: 0 / 449 MB, free: 51.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.1714, allocations: 39.09 kB / 449 MB, free: 51.17 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1714, allocations: 0 / 449 MB, free: 51.17 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.0885947290807962]