Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001118, allocations: 92.23 kB / 16.3 MB, free: 6.457 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.001024/0.001024, allocations: 182.4 kB / 17.2 MB, free: 6.34 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.664/1.664, allocations: 205.4 MB / 223.3 MB, free: 13.17 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: 38.04 MB / 309.7 MB, free: 6.133 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.0004961/0.0004964, allocations: 15.12 kB / 376.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3268, allocations: 56.33 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.003773/0.3306, allocations: 3.861 MB / 436.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.332, allocations: 1.069 MB / 437.7 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.3321, allocations: 27.75 kB / 437.8 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.3323, allocations: 43.67 kB / 437.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003992/0.3327, allocations: 179.4 kB / 438 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.3329, allocations: 107.8 kB / 438.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.3332, allocations: 203.6 kB / 438.3 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3333, allocations: 68.73 kB / 438.4 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3335, allocations: 123.5 kB / 438.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.3338, allocations: 127.5 kB / 438.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.3338, allocations: 8 kB / 438.6 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.167e-05/0.3338, allocations: 16 kB / 438.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.3339, allocations: 63.81 kB / 438.7 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.334, allocations: 73.58 kB / 438.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.3342, allocations: 179.5 kB / 438.9 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3342, allocations: 3.938 kB / 438.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3342, allocations: 0 / 438.9 MB, free: 12.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3342, allocations: 0 / 438.9 MB, free: 12.69 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007074/0.3349, allocations: 0.5192 MB / 439.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3349, allocations: 8.031 kB / 439.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.335, allocations: 39.58 kB / 439.5 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.3354, allocations: 290.8 kB / 439.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.3354, allocations: 16.42 kB / 439.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.3355, allocations: 24 kB / 439.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.3358, allocations: 269.8 kB / 440.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3358, allocations: 0 / 440.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3358, allocations: 8 kB / 440.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3358, allocations: 8 kB / 440.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.3361, allocations: 171.7 kB / 440.3 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009588/0.337, allocations: 1.164 MB / 441.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3371, allocations: 85.27 kB / 441.5 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.3372, allocations: 4.062 kB / 441.5 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3372, allocations: 30.56 kB / 441.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3372, allocations: 0 / 441.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006001/0.3378, allocations: 416.8 kB / 442 MB, free: 9.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3379, allocations: 81.05 kB / 442 MB, free: 9.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.3381, allocations: 246.6 kB / 442.3 MB, free: 9.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.3381, allocations: 25.7 kB / 442.3 MB, free: 9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.888e-05/0.3382, allocations: 191.6 kB / 442.5 MB, free: 8.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.3382, allocations: 31.55 kB / 442.5 MB, free: 8.777 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.3382, allocations: 4 kB / 442.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.3383, allocations: 330.9 kB / 442.8 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.3383, allocations: 28.36 kB / 442.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.3384, allocations: 121.5 kB / 443 MB, free: 8.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.421e-05/0.3385, allocations: 51.88 kB / 443 MB, free: 8.199 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3385, allocations: 3.938 kB / 443 MB, free: 8.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001983/0.3387, allocations: 185.2 kB / 443.2 MB, free: 8.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3387, allocations: 8.438 kB / 443.2 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3387, allocations: 4 kB / 443.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3387, allocations: 8 kB / 443.3 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.3389, allocations: 43.91 kB / 443.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3389, allocations: 4 kB / 443.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-05/0.339, allocations: 11.94 kB / 443.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.339, allocations: 11.95 kB / 443.3 MB, free: 7.918 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.718e-05/0.3391, allocations: 141.8 kB / 443.5 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.3391, allocations: 23.72 kB / 443.5 MB, free: 7.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.3393, allocations: 99.31 kB / 443.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3393, allocations: 4 kB / 443.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3393, allocations: 0 / 443.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3393, allocations: 0 / 443.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.3396, allocations: 419.3 kB / 444 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3396, allocations: 4 kB / 444 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.124e-05/0.3397, allocations: 15.98 kB / 444 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3397, allocations: 3.984 kB / 444 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3398, allocations: 8 kB / 444 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3398, allocations: 4.031 kB / 444 MB, free: 7.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3398, allocations: 0 / 444 MB, free: 7.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.34, allocations: 252.3 kB / 444.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.34, allocations: 96.8 kB / 444.4 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.3401, allocations: 12.45 kB / 444.4 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.3401, allocations: 3.984 kB / 444.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.3402, allocations: 8 kB / 444.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.3402, allocations: 4 kB / 444.4 MB, free: 6.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.3403, allocations: 170 kB / 444.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3403, allocations: 0 / 444.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3406, allocations: 40 kB / 444.6 MB, free: 6.512 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.975e-05/0.3407, allocations: 99.02 kB / 444.7 MB, free: 6.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.3408, allocations: 95.81 kB / 444.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3408, allocations: 0 / 444.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.3409, allocations: 27.94 kB / 444.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.3412, allocations: 53.97 kB / 444.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006987/0.3419, allocations: 0.6095 MB / 445.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.3422, allocations: 0.7677 MB / 446.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.496e-05/0.3423, allocations: 30.3 kB / 446.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.3423, allocations: 19.44 kB / 446.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3423, allocations: 0 / 446.3 MB, free: 4.742 MB / 318.1 MB Notification: Performance of Templates: time 0.004144/0.3465, allocations: 1.616 MB / 447.9 MB, free: 3.137 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) Environment - environmentSimulation: