Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 114.4 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1758/0.1758, allocations: 37.99 MB / 309.8 MB, free: 5.977 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 67.91 kB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.215, allocations: 55.24 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004755/0.2198, allocations: 4.423 MB / 436.4 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.2218, allocations: 1.473 MB / 437.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.222, allocations: 15.94 kB / 437.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009271/0.2229, allocations: 382.4 kB / 438.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.2233, allocations: 214.9 kB / 438.5 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.2239, allocations: 255.4 kB / 438.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.2243, allocations: 0.5339 MB / 439.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.2246, allocations: 277.1 kB / 439.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.2249, allocations: 251 kB / 439.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.2252, allocations: 287.1 kB / 440.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.2253, allocations: 31.94 kB / 440.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.2255, allocations: 143.8 kB / 440.3 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.2256, allocations: 219.5 kB / 440.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.2258, allocations: 242.9 kB / 440.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.2262, allocations: 0.5607 MB / 441.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2262, allocations: 0 / 441.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2262, allocations: 0 / 441.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.2262, allocations: 0 / 441.3 MB, free: 10.22 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.00106/0.2273, allocations: 0.7349 MB / 442 MB, free: 9.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2273, allocations: 15.89 kB / 442 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005105/0.2279, allocations: 88.22 kB / 442.1 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.2285, allocations: 403.3 kB / 442.5 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.2285, allocations: 33.36 kB / 442.5 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.2286, allocations: 56.05 kB / 442.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006412/0.2293, allocations: 0.617 MB / 443.2 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.2293, allocations: 4 kB / 443.2 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.2293, allocations: 23.94 kB / 443.2 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.2294, allocations: 32.98 kB / 443.3 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005611/0.23, allocations: 475.5 kB / 443.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.2323, allocations: 2.88 MB / 446.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.2326, allocations: 229 kB / 446.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.2328, allocations: 153.6 kB / 447 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.2329, allocations: 7.984 kB / 447 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2329, allocations: 34.56 kB / 447 MB, free: 4.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.502e-06/0.2329, allocations: 0 / 447 MB, free: 4.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001211/0.2341, allocations: 0.9579 MB / 448 MB, free: 3.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2342, allocations: 88.98 kB / 448.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.2344, allocations: 328.4 kB / 448.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2344, allocations: 37.83 kB / 448.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2346, allocations: 267.2 kB / 448.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.2346, allocations: 110.5 kB / 448.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.892e-05/0.2347, allocations: 90.16 kB / 448.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.2348, allocations: 346.8 kB / 449.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.235, allocations: 145 kB / 449.4 MB, free: 1.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.2352, allocations: 351.2 kB / 449.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.2357, allocations: 0.5171 MB / 450.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2357, allocations: 8 kB / 450.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005663/0.2362, allocations: 0.5204 MB / 450.8 MB, free: 104 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2363, allocations: 11.94 kB / 450.8 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.2363, allocations: 8 kB / 450.8 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.2363, allocations: 8 kB / 450.8 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.2367, allocations: 115.9 kB / 450.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.2367, allocations: 23.92 kB / 450.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.237, allocations: 24.36 kB / 450.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.237, allocations: 28 kB / 451 MB, free: 15.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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.0002397/0.2373, allocations: 217.5 kB / 451.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.2373, allocations: 35.53 kB / 451.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006199/0.238, allocations: 357.6 kB / 451.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.238, allocations: 4 kB / 451.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.238, allocations: 0 / 451.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.238, allocations: 0 / 451.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.2394, allocations: 0.8916 MB / 452.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2394, allocations: 3.938 kB / 452.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.2397, allocations: 63.97 kB / 452.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2397, allocations: 0 / 452.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.2398, allocations: 15.97 kB / 452.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.2398, allocations: 11.88 kB / 452.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2398, allocations: 96 / 452.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007358/0.2405, allocations: 0.578 MB / 453.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.2406, allocations: 108.7 kB / 453.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.2407, allocations: 8 kB / 453.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.2409, allocations: 19.92 kB / 453.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.2409, allocations: 19.92 kB / 453.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.2409, allocations: 11.98 kB / 453.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002171/0.2412, allocations: 219.1 kB / 453.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2412, allocations: 0 / 453.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004193/0.2416, allocations: 92 kB / 453.6 MB, free: 13.12 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000118/0.2417, allocations: 111.1 kB / 453.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005358/0.2423, allocations: 373.2 kB / 454.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2423, allocations: 0 / 454.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.2425, allocations: 143.8 kB / 454.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.243, allocations: 87.45 kB / 454.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.2446, allocations: 0.9818 MB / 455.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.2451, allocations: 0.8582 MB / 456.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003/0.2454, allocations: 131.1 kB / 456.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2455, allocations: 39.42 kB / 456.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2455, allocations: 0 / 456.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of Templates: time 0.0074/0.2529, allocations: 3.309 MB / 459.6 MB, free: 7.051 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)