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.001259/0.001259, 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.001173/0.001173, allocations: 166.3 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 1.003/1.003, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.2396/0.2396, allocations: 29.43 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 2.1.0-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.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 3.938 kB / 431.8 MB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.43e-05, allocations: 8.109 kB / 431.8 MB, free: 12.03 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002772/0.002796, allocations: 2.234 MB / 434.1 MB, free: 9.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.004044, allocations: 1.025 MB / 435.1 MB, free: 8.742 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.222e-05/0.004116, allocations: 3.938 kB / 435.1 MB, free: 8.738 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.004267, allocations: 19.84 kB / 435.1 MB, free: 8.719 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.004375, allocations: 51.73 kB / 435.2 MB, free: 8.668 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008776/0.005253, allocations: 341.6 kB / 435.5 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.00541, allocations: 123.6 kB / 435.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.00546, allocations: 0 / 435.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.005626, allocations: 63.8 kB / 435.7 MB, free: 8.152 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.005727, allocations: 67.78 kB / 435.7 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.00574, allocations: 4 kB / 435.7 MB, free: 8.082 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006535/0.006393, allocations: 0.5727 MB / 436.3 MB, free: 7.508 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.006458, allocations: 43.84 kB / 436.4 MB, free: 7.465 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.006503, allocations: 23.92 kB / 436.4 MB, free: 7.441 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.007074, allocations: 0.5611 MB / 436.9 MB, free: 6.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.007077, allocations: 0 / 436.9 MB, free: 6.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.007079, allocations: 0 / 436.9 MB, free: 6.879 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.007085, allocations: 0 / 436.9 MB, free: 6.879 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.0004206/0.007506, allocations: 391.1 kB / 437.3 MB, free: 6.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.007554, allocations: 11.98 kB / 437.3 MB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.474e-05/0.007628, allocations: 70.47 kB / 437.4 MB, free: 6.371 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.007673, allocations: 16.84 kB / 437.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.007825, allocations: 142.2 kB / 437.6 MB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.007835, allocations: 8.375 kB / 437.6 MB, free: 6.184 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.007848, allocations: 8.375 kB / 437.6 MB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.008093, allocations: 195.6 kB / 437.8 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.008103, allocations: 0 / 437.8 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.008121, allocations: 11.94 kB / 437.8 MB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.008128, allocations: 0 / 437.8 MB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.008271, allocations: 145.5 kB / 437.9 MB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.008629, allocations: 311.6 kB / 438.2 MB, free: 5.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.008757, allocations: 132.2 kB / 438.4 MB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.008843, allocations: 118.5 kB / 438.5 MB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-06/0.008848, allocations: 4 kB / 438.5 MB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.008872, allocations: 34.56 kB / 438.5 MB, free: 5.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.008873, allocations: 0 / 438.5 MB, free: 5.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004081/0.009281, allocations: 422.5 kB / 438.9 MB, free: 4.711 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.009331, allocations: 97.09 kB / 439 MB, free: 4.598 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.009415, allocations: 132.8 kB / 439.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.009427, allocations: 25.7 kB / 439.2 MB, free: 4.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.009476, allocations: 104.5 kB / 439.3 MB, free: 4.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.009515, allocations: 67.39 kB / 439.3 MB, free: 4.258 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.009551, allocations: 29.7 kB / 439.4 MB, free: 4.223 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.009635, allocations: 322.8 kB / 439.7 MB, free: 3.898 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.009721, allocations: 117.7 kB / 439.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-05/0.009797, allocations: 105.7 kB / 439.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.009975, allocations: 259.1 kB / 440.2 MB, free: 3.402 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.009977, allocations: 0 / 440.2 MB, free: 3.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002257/0.0102, allocations: 288.8 kB / 440.4 MB, free: 3.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.01025, allocations: 57.67 kB / 440.5 MB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01026, allocations: 0 / 440.5 MB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01027, allocations: 3.938 kB / 440.5 MB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.903e-06/0.01028, allocations: 4 kB / 440.5 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01028, allocations: 0 / 440.5 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.01033, allocations: 12.02 kB / 440.5 MB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.01035, allocations: 8 kB / 440.5 MB, free: 3.012 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 0.0001238/0.01047, allocations: 187.5 kB / 440.7 MB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.0105, allocations: 15.91 kB / 440.7 MB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.01052, allocations: 9.125 kB / 440.7 MB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.01052, allocations: 7.922 kB / 440.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.01053, allocations: 0 / 440.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.01053, allocations: 0 / 440.7 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.01067, allocations: 180.5 kB / 440.9 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01067, allocations: 0 / 440.9 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.01067, allocations: 0 / 440.9 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01067, allocations: 4 kB / 440.9 MB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.01068, allocations: 4 kB / 440.9 MB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.01069, allocations: 3.938 kB / 440.9 MB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01069, allocations: 0 / 440.9 MB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.01104, allocations: 0.5132 MB / 441.4 MB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.01106, allocations: 15.84 kB / 441.5 MB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.01107, allocations: 4 kB / 441.5 MB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.01112, allocations: 7.938 kB / 441.5 MB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.01113, allocations: 0 / 441.5 MB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.01115, allocations: 12 kB / 441.5 MB, free: 1.969 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.442e-05/0.01119, allocations: 106.4 kB / 441.6 MB, free: 1.867 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01119, allocations: 4 kB / 441.6 MB, free: 1.863 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.01158, allocations: 139.7 kB / 441.7 MB, free: 1.727 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.001177/0.01276, allocations: 1.353 MB / 443.1 MB, free: 336 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1611/0.1738, allocations: 435.2 kB / 443.5 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1738, allocations: 0 / 443.5 MB, free: 54.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.174, allocations: 251.8 kB / 443.7 MB, free: 54.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.1743, allocations: 25.08 kB / 443.8 MB, free: 54.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.1763, allocations: 2.75 MB / 446.5 MB, free: 52.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.993e-05/0.1763, allocations: 119.1 kB / 446.6 MB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.593e-05/0.1764, allocations: 3.219 kB / 446.6 MB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.1764, allocations: 35.83 kB / 446.7 MB, free: 52.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1764, allocations: 1.125 kB / 446.7 MB, free: 52.8 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.211305784061551]