Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007552/0.0007556, allocations: 97.28 kB / 16.65 MB, free: 6.59 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.001126/0.001126, allocations: 181.3 kB / 17.56 MB, free: 6.203 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.543/1.543, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1952/0.1952, allocations: 38.05 MB / 310.1 MB, free: 5.922 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.000505/0.000505, allocations: 12 kB / 377.2 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2883, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005488/0.2938, allocations: 6.913 MB / 440.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.2967, allocations: 2.354 MB / 442.8 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/0.2971, allocations: 43.69 kB / 442.8 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.2974, allocations: 107.2 kB / 442.9 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007089/0.2981, allocations: 358.5 kB / 443.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.2988, allocations: 367.3 kB / 443.6 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009985/0.2999, allocations: 1.489 MB / 445.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.3011, allocations: 0.8469 MB / 445.9 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004606/0.3015, allocations: 334.4 kB / 446.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.3022, allocations: 0.5257 MB / 446.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.3022, allocations: 35.94 kB / 446.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.3026, allocations: 235.6 kB / 447.1 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.3029, allocations: 379.1 kB / 447.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.3032, allocations: 419.6 kB / 447.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006296/0.3039, allocations: 0.9693 MB / 448.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3039, allocations: 0 / 448.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3039, allocations: 0 / 448.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.3039, allocations: 0 / 448.8 MB, free: 3.27 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001504/0.3054, allocations: 0.9236 MB / 449.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3055, allocations: 8.031 kB / 449.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000668/0.3062, allocations: 143.8 kB / 449.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.3068, allocations: 0.5127 MB / 450.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.975e-05/0.3069, allocations: 58.38 kB / 450.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.894e-05/0.307, allocations: 80.03 kB / 450.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.3081, allocations: 1.134 MB / 451.7 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.3082, allocations: 7.938 kB / 451.7 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.3082, allocations: 32 kB / 451.7 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/0.3083, allocations: 53.98 kB / 451.8 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.3095, allocations: 0.8661 MB / 452.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005767/0.3153, allocations: 5.059 MB / 457.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007578/0.3161, allocations: 428.6 kB / 458.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.3164, allocations: 205.7 kB / 458.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.877e-05/0.3165, allocations: 15.98 kB / 458.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3165, allocations: 34.5 kB / 458.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.906e-06/0.3165, allocations: 0 / 458.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001815/0.3183, allocations: 1.075 MB / 459.4 MB, free: 8.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.3184, allocations: 85.23 kB / 459.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.3189, allocations: 0.4939 MB / 460 MB, free: 7.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.319, allocations: 33.7 kB / 460 MB, free: 7.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.3192, allocations: 449.7 kB / 460.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.3194, allocations: 161.8 kB / 460.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/0.3195, allocations: 65.69 kB / 460.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3196, allocations: 370.8 kB / 461.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.32, allocations: 241.8 kB / 461.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/0.3206, allocations: 0.6209 MB / 461.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.3218, allocations: 0.9418 MB / 462.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.3218, allocations: 4 kB / 462.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001246/0.323, allocations: 0.8923 MB / 463.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.3231, allocations: 8 kB / 463.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.3231, allocations: 20.12 kB / 463.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/0.3231, allocations: 16 kB / 463.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.3238, allocations: 219.6 kB / 464 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.3238, allocations: 23.92 kB / 464 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.3242, allocations: 55.88 kB / 464.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.3242, allocations: 43.98 kB / 464.1 MB, free: 3.039 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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.0003232/0.3246, allocations: 305.3 kB / 464.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.3247, allocations: 55.34 kB / 464.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008658/0.3255, allocations: 0.5602 MB / 465 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.3255, allocations: 8 kB / 465.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3256, allocations: 0 / 465.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.3256, allocations: 3.984 kB / 465.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.3274, allocations: 1.327 MB / 466.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3274, allocations: 7.969 kB / 466.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.3278, allocations: 111.8 kB / 466.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.3278, allocations: 7.938 kB / 466.5 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.3279, allocations: 19.98 kB / 466.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3279, allocations: 4 kB / 466.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3279, allocations: 4 kB / 466.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007695/0.3287, allocations: 0.6403 MB / 467.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.3288, allocations: 124.4 kB / 467.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-05/0.3289, allocations: 23.92 kB / 467.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.3291, allocations: 23.92 kB / 467.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.3292, allocations: 39.89 kB / 467.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.3292, allocations: 12 kB / 467.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003059/0.3295, allocations: 330.8 kB / 467.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3295, allocations: 0 / 467.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006124/0.3302, allocations: 164 kB / 467.9 MB, free: 15.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.000136/0.3303, allocations: 103.5 kB / 468 MB, free: 15.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007854/0.3311, allocations: 0.6058 MB / 468.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3311, allocations: 0 / 468.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.3314, allocations: 245.2 kB / 468.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/0.3322, allocations: 114.6 kB / 468.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.3344, allocations: 1.71 MB / 470.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.335, allocations: 0.996 MB / 471.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005385/0.3355, allocations: 232.9 kB / 471.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.3357, allocations: 55.42 kB / 471.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3357, allocations: 0 / 471.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Templates: time 0.009206/0.3449, allocations: 5.229 MB / 477.2 MB, free: 5.777 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) Environment - environmentSimulation: