Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Test.FixedCurrentTest.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002423/0.002423, allocations: 355.4 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.474/3.474, allocations: 388.9 MB / 406.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003516/0.003515, allocations: 235.8 kB / 451.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6577/0.6577, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.000441, allocations: 8 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0672/0.06766, allocations: 53.24 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003167/0.07087, allocations: 3.196 MB / 0.6767 GB, free: 57.6 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.07279, allocations: 1.479 MB / 0.6782 GB, free: 56.11 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.07293, allocations: 11.94 kB / 0.6782 GB, free: 56.1 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.07306, allocations: 35.7 kB / 0.6782 GB, free: 56.07 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004927/0.07357, allocations: 211 kB / 0.6784 GB, free: 55.86 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.07386, allocations: 95.69 kB / 0.6785 GB, free: 55.77 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.07425, allocations: 442.8 kB / 0.6789 GB, free: 55.33 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.07484, allocations: 303.1 kB / 0.6792 GB, free: 55.02 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.07504, allocations: 123.4 kB / 0.6793 GB, free: 54.89 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.07527, allocations: 151.4 kB / 0.6795 GB, free: 54.75 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.07531, allocations: 12 kB / 0.6795 GB, free: 54.73 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.07565, allocations: 179.4 kB / 0.6797 GB, free: 54.56 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.125e-05/0.07575, allocations: 91.75 kB / 0.6798 GB, free: 54.47 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.07582, allocations: 61.64 kB / 0.6798 GB, free: 54.4 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.07612, allocations: 247.4 kB / 0.6801 GB, free: 54.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.35e-06/0.07614, allocations: 0 / 0.6801 GB, free: 54.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.07615, allocations: 0 / 0.6801 GB, free: 54.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.133e-06/0.07616, allocations: 3.938 kB / 0.6801 GB, free: 54.16 MB / 442.7 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.0005244/0.0767, allocations: 498.5 kB / 0.6805 GB, free: 53.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.07674, allocations: 12.83 kB / 0.6805 GB, free: 53.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.07783, allocations: 99.61 kB / 0.6806 GB, free: 53.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.07812, allocations: 254.5 kB / 0.6809 GB, free: 53.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.07815, allocations: 15.98 kB / 0.6809 GB, free: 53.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.768e-05/0.07821, allocations: 12 kB / 0.6809 GB, free: 53.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004979/0.07872, allocations: 329.3 kB / 0.6812 GB, free: 52.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.07875, allocations: 0 / 0.6812 GB, free: 52.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.07879, allocations: 8 kB / 0.6812 GB, free: 52.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.622e-05/0.07884, allocations: 15.98 kB / 0.6812 GB, free: 52.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.07935, allocations: 295.6 kB / 0.6815 GB, free: 52.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.08106, allocations: 1.264 MB / 0.6828 GB, free: 51.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.08156, allocations: 229.1 kB / 0.683 GB, free: 50.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.08175, allocations: 109.5 kB / 0.6831 GB, free: 50.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.08178, allocations: 4 kB / 0.6831 GB, free: 50.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.08182, allocations: 34.56 kB / 0.6831 GB, free: 50.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 2.293e-06/0.08183, allocations: 0 / 0.6831 GB, free: 50.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.000855/0.08269, allocations: 434.7 kB / 0.6835 GB, free: 50.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.08274, allocations: 81.11 kB / 0.6836 GB, free: 50.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.08293, allocations: 203 kB / 0.6838 GB, free: 50.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.08297, allocations: 33.7 kB / 0.6838 GB, free: 50 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.08305, allocations: 163.8 kB / 0.684 GB, free: 49.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.08311, allocations: 59.31 kB / 0.6841 GB, free: 49.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.08313, allocations: 4 kB / 0.6841 GB, free: 49.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.0832, allocations: 326.8 kB / 0.6844 GB, free: 49.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.08337, allocations: 91.88 kB / 0.6845 GB, free: 49.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.08357, allocations: 157.2 kB / 0.6846 GB, free: 49.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.08378, allocations: 107.2 kB / 0.6847 GB, free: 49.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.08379, allocations: 4 kB / 0.6847 GB, free: 49.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004868/0.08429, allocations: 297 kB / 0.685 GB, free: 48.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.08432, allocations: 8 kB / 0.685 GB, free: 48.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.89e-06/0.08433, allocations: 7.984 kB / 0.685 GB, free: 48.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.08436, allocations: 0 / 0.685 GB, free: 48.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.08465, allocations: 59.91 kB / 0.6851 GB, free: 48.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.188e-06/0.08467, allocations: 0 / 0.6851 GB, free: 48.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.08486, allocations: 11.98 kB / 0.6851 GB, free: 48.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.0849, allocations: 15.95 kB / 0.6851 GB, free: 48.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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 0.0001307/0.08504, allocations: 158 kB / 0.6852 GB, free: 48.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.08511, allocations: 15.81 kB / 0.6853 GB, free: 48.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.08551, allocations: 227.3 kB / 0.6855 GB, free: 48.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.996e-06/0.08554, allocations: 4 kB / 0.6855 GB, free: 48.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.08555, allocations: 0 / 0.6855 GB, free: 48.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.752e-06/0.08556, allocations: 3.984 kB / 0.6855 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.087, allocations: 0.9554 MB / 0.6864 GB, free: 47.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.08702, allocations: 4 kB / 0.6864 GB, free: 47.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.0872, allocations: 27.98 kB / 0.6864 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.08723, allocations: 8 kB / 0.6865 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.08726, allocations: 12 kB / 0.6865 GB, free: 47.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.851e-06/0.08728, allocations: 11.92 kB / 0.6865 GB, free: 47.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.08729, allocations: 8.438 kB / 0.6865 GB, free: 47.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.08769, allocations: 428.7 kB / 0.6869 GB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.08776, allocations: 104.9 kB / 0.687 GB, free: 46.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.08782, allocations: 4 kB / 0.687 GB, free: 46.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.08805, allocations: 15.98 kB / 0.687 GB, free: 46.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.08811, allocations: 23.88 kB / 0.687 GB, free: 46.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.08814, allocations: 11.94 kB / 0.687 GB, free: 46.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.08828, allocations: 151.2 kB / 0.6872 GB, free: 46.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.08829, allocations: 0 / 0.6872 GB, free: 46.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004529/0.08875, allocations: 56 kB / 0.6872 GB, free: 46.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.317e-05/0.08884, allocations: 95.25 kB / 0.6873 GB, free: 46.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.08923, allocations: 223.3 kB / 0.6875 GB, free: 45.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.197e-06/0.08925, allocations: 4.125 kB / 0.6876 GB, free: 45.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.08942, allocations: 95.77 kB / 0.6876 GB, free: 45.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.08999, allocations: 44.09 kB / 0.6877 GB, free: 45.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008812/0.09088, allocations: 0.6422 MB / 0.6883 GB, free: 45.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.09113, allocations: 0.7674 MB / 0.6891 GB, free: 44.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.09133, allocations: 49.5 kB / 0.6891 GB, free: 44.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.09142, allocations: 19.44 kB / 0.6891 GB, free: 44.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.399e-06/0.09143, allocations: 0 / 0.6891 GB, free: 44.23 MB / 442.7 MB Notification: Performance of Templates: time 0.005092/0.09653, allocations: 1.711 MB / 0.6908 GB, free: 42.52 MB / 442.7 MB