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.0009772/0.0009772, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.001015/0.001015, allocations: 174 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.9438/0.9438, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.2104/0.2104, allocations: 29.41 MB / 290.1 MB, free: 2.43 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 431 MB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.643e-05, allocations: 6.219 kB / 431 MB, free: 12.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.005767/0.005783, allocations: 2.24 MB / 433.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005689/0.01147, allocations: 1.906 MB / 435.2 MB, free: 8.605 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.389e-05/0.01154, allocations: 0 / 435.2 MB, free: 8.605 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.01166, allocations: 15.84 kB / 435.2 MB, free: 8.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.01176, allocations: 39.81 kB / 435.2 MB, free: 8.551 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005046/0.01681, allocations: 0.9505 MB / 436.2 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.01695, allocations: 99.55 kB / 436.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.017, allocations: 7.859 kB / 436.3 MB, free: 7.492 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.01714, allocations: 55.75 kB / 436.3 MB, free: 7.438 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/0.01722, allocations: 63.78 kB / 436.4 MB, free: 7.375 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.01724, allocations: 0 / 436.4 MB, free: 7.375 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005442/0.02268, allocations: 1.847 MB / 438.2 MB, free: 5.523 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.02274, allocations: 27.92 kB / 438.3 MB, free: 5.496 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.02279, allocations: 35.8 kB / 438.3 MB, free: 5.461 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.02454, allocations: 1.473 MB / 439.8 MB, free: 3.984 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.02454, allocations: 0 / 439.8 MB, free: 3.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02454, allocations: 0 / 439.8 MB, free: 3.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.02455, 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.0005956/0.02514, allocations: 482.2 kB / 440.3 MB, free: 3.477 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.02518, allocations: 19.98 kB / 440.3 MB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.434e-05/0.02526, allocations: 74.47 kB / 440.3 MB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.02529, allocations: 12.84 kB / 440.4 MB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.02544, allocations: 153.5 kB / 440.5 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.02546, allocations: 8.375 kB / 440.5 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003027/0.02849, allocations: 4.375 kB / 440.5 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.02872, allocations: 171.9 kB / 440.7 MB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.02873, allocations: 0 / 440.7 MB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.02874, allocations: 4 kB / 440.7 MB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.02875, allocations: 0 / 440.7 MB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.02886, allocations: 125.8 kB / 440.8 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.02924, allocations: 320.1 kB / 441.1 MB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.02936, allocations: 108.2 kB / 441.2 MB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.686e-05/0.02943, allocations: 86.55 kB / 441.3 MB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-06/0.02944, allocations: 4 kB / 441.3 MB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.02946, allocations: 34.5 kB / 441.4 MB, free: 2.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.02946, allocations: 0 / 441.4 MB, free: 2.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000611/0.03007, allocations: 334.6 kB / 441.7 MB, free: 1.895 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.03011, allocations: 85.11 kB / 441.8 MB, free: 1.793 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.909e-05/0.03021, allocations: 149.4 kB / 441.9 MB, free: 1.641 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.03022, allocations: 29.73 kB / 441.9 MB, free: 1.605 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.236e-05/0.03027, allocations: 123.9 kB / 442.1 MB, free: 1.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.03031, allocations: 51.48 kB / 442.1 MB, free: 1.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.03035, allocations: 25.7 kB / 442.1 MB, free: 1.398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.03043, allocations: 322.8 kB / 442.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.03051, allocations: 85.66 kB / 442.5 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.03058, allocations: 89.66 kB / 442.6 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.03074, allocations: 190.9 kB / 442.8 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.03074, allocations: 3.938 kB / 442.8 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002087/0.03095, allocations: 232.9 kB / 443 MB, free: 452 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.031, allocations: 56.59 kB / 443.1 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.031, allocations: 4.062 kB / 443.1 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.03101, allocations: 0 / 443.1 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.03101, allocations: 0 / 443.1 MB, free: 388 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.03102, allocations: 7.969 kB / 443.1 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.03106, allocations: 4 kB / 443.1 MB, free: 376 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.03108, allocations: 4 kB / 443.1 MB, free: 372 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 0.0001045/0.03119, allocations: 175.5 kB / 443.3 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.03122, allocations: 15.84 kB / 443.3 MB, free: 164 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.424e-05/0.03123, allocations: 8.781 kB / 443.3 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.03123, allocations: 0 / 443.3 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.03124, allocations: 12 kB / 443.3 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.03124, allocations: 3.984 kB / 443.3 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1392/0.1704, allocations: 172.8 kB / 443.5 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1704, allocations: 0 / 443.5 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.233e-06/0.1704, allocations: 0 / 443.5 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1704, allocations: 3.562 kB / 443.5 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.1705, allocations: 3.156 kB / 443.5 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1705, allocations: 3.328 kB / 443.5 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1705, allocations: 1.406 kB / 443.5 MB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.1708, allocations: 405.2 kB / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.1708, allocations: 12.91 kB / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1708, allocations: 5.094 kB / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.1709, allocations: 2.875 kB / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.1709, allocations: 11.94 kB / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.1709, allocations: 3.25 kB / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.1709, allocations: 113.9 kB / 444 MB, free: 53.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1709, allocations: 4.484 kB / 444.1 MB, free: 53.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008/0.1717, allocations: 340.4 kB / 444.4 MB, free: 53.8 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.1729, allocations: 1.411 MB / 445.8 MB, free: 53.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.1731, allocations: 321.5 kB / 446.1 MB, free: 52.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1731, allocations: 0 / 446.1 MB, free: 52.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.1732, allocations: 201.8 kB / 446.3 MB, free: 52.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.1735, allocations: 16.59 kB / 446.3 MB, free: 52.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.175, allocations: 2.546 MB / 448.9 MB, free: 51.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.368e-05/0.175, allocations: 112.1 kB / 449 MB, free: 51.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.794e-05/0.175, allocations: 6.25 kB / 449 MB, free: 51.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.1751, allocations: 35.83 kB / 449 MB, free: 51.15 MB / 410.7 MB Notification: Performance of SimCode: time 5.82e-07/0.1751, allocations: 0 / 449 MB, free: 51.15 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.020253191702068]