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.001232/0.001232, allocations: 113 kB / 17.68 MB, free: 5.355 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.001224/0.001224, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.375/1.375, 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.1796/0.1796, allocations: 37.99 MB / 309.8 MB, free: 5.965 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.001458/0.001459, allocations: 59.91 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.204, allocations: 55.24 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004413/0.2084, allocations: 4.421 MB / 436.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2103, allocations: 1.465 MB / 437.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.2105, allocations: 11.94 kB / 437.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008699/0.2114, allocations: 388.7 kB / 438.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.2118, allocations: 226.8 kB / 438.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.2123, allocations: 239.4 kB / 438.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.2127, allocations: 0.534 MB / 439.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.213, allocations: 282.9 kB / 439.6 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.2132, allocations: 239 kB / 439.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.2136, allocations: 291.1 kB / 440.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.2136, allocations: 32 kB / 440.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.2139, allocations: 143.8 kB / 440.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.214, allocations: 223.5 kB / 440.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.2142, allocations: 242.8 kB / 440.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.2146, allocations: 0.5685 MB / 441.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2146, allocations: 0 / 441.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2146, allocations: 0 / 441.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.2146, allocations: 0 / 441.3 MB, free: 10.2 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.001077/0.2157, allocations: 0.7288 MB / 442 MB, free: 9.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2157, allocations: 15.89 kB / 442 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005386/0.2163, allocations: 88.22 kB / 442.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/0.2169, allocations: 415.2 kB / 442.5 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.2169, allocations: 29.38 kB / 442.5 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.217, allocations: 48.11 kB / 442.6 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.2177, allocations: 0.6209 MB / 443.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.2177, allocations: 0 / 443.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.2177, allocations: 20 kB / 443.2 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.826e-05/0.2178, allocations: 36.98 kB / 443.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.2184, allocations: 483.4 kB / 443.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.2207, allocations: 2.876 MB / 446.6 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.221, allocations: 236.9 kB / 446.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.2211, allocations: 145.7 kB / 447 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.2212, allocations: 7.984 kB / 447 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.2212, allocations: 42.56 kB / 447 MB, free: 4.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.793e-06/0.2212, allocations: 0 / 447 MB, free: 4.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001164/0.2224, allocations: 0.9617 MB / 448 MB, free: 3.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.2224, allocations: 81.11 kB / 448.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.2227, allocations: 320.4 kB / 448.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2227, allocations: 29.7 kB / 448.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.2228, allocations: 283.3 kB / 448.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.2228, allocations: 98.56 kB / 448.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/0.2229, allocations: 94.16 kB / 448.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.017e-05/0.223, allocations: 350.7 kB / 449.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.2232, allocations: 145 kB / 449.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.2234, allocations: 343.2 kB / 449.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.2238, allocations: 0.521 MB / 450.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2238, allocations: 0 / 450.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005849/0.2244, allocations: 0.5362 MB / 450.8 MB, free: 84 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2245, allocations: 8 kB / 450.8 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2245, allocations: 4 kB / 450.8 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.2245, allocations: 12 kB / 450.8 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.2249, allocations: 119.8 kB / 450.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.2249, allocations: 11.94 kB / 450.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.2251, allocations: 23.98 kB / 450.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.2252, allocations: 24.28 kB / 451 MB, free: 15.88 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.0002007/0.2254, allocations: 221.5 kB / 451.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.2255, allocations: 31.53 kB / 451.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.226, allocations: 357.6 kB / 451.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2261, allocations: 4 kB / 451.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.2261, allocations: 8 kB / 451.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2261, allocations: 3.984 kB / 451.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.2274, allocations: 0.8954 MB / 452.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2274, allocations: 4 kB / 452.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.2277, allocations: 63.89 kB / 452.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2277, allocations: 4 kB / 452.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.2278, allocations: 8 kB / 452.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2278, allocations: 3.938 kB / 452.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2278, allocations: 4 kB / 452.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.2285, allocations: 0.578 MB / 453.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.2286, allocations: 116.6 kB / 453.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.2286, allocations: 12.03 kB / 453.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2288, allocations: 11.94 kB / 453.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2289, allocations: 23.91 kB / 453.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.2289, allocations: 12 kB / 453.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.2291, allocations: 223 kB / 453.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2291, allocations: 0 / 453.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.2295, allocations: 92 kB / 453.6 MB, free: 13.1 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 9.822e-05/0.2296, allocations: 107.1 kB / 453.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005303/0.2302, allocations: 367.5 kB / 454.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2302, allocations: 1.812 kB / 454.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.2304, allocations: 147.8 kB / 454.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.2309, allocations: 65.27 kB / 454.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.2323, allocations: 0.9896 MB / 455.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.2328, allocations: 0.8621 MB / 456.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002912/0.2331, allocations: 135.1 kB / 456.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.2332, allocations: 27.44 kB / 456.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2332, allocations: 0 / 456.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of Templates: time 0.007/0.2402, allocations: 3.324 MB / 459.6 MB, free: 7.031 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 gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1)