Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 112.5 kB / 17.7 MB, free: 5.434 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.001502/0.001502, allocations: 191 kB / 18.63 MB, free: 4.504 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.658/1.658, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1752/0.1752, allocations: 37.98 MB / 309.8 MB, free: 5.973 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.001658/0.001658, allocations: 67.91 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2757, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004233/0.28, allocations: 3.467 MB / 435.5 MB, free: 16.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2816, allocations: 1.54 MB / 437 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2818, allocations: 11.88 kB / 437 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000751/0.2825, allocations: 251 kB / 437.3 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.283, allocations: 286.9 kB / 437.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.2832, allocations: 123.7 kB / 437.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.2835, allocations: 342.9 kB / 438 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.2838, allocations: 137.7 kB / 438.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.284, allocations: 151.4 kB / 438.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.2842, allocations: 151.5 kB / 438.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.2842, allocations: 12 kB / 438.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003615/0.2846, allocations: 343.1 kB / 438.8 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.528e-05/0.2847, allocations: 95.77 kB / 438.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.914e-05/0.2848, allocations: 111.4 kB / 439 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.2851, allocations: 351 kB / 439.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2851, allocations: 4 kB / 439.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2852, allocations: 0 / 439.4 MB, free: 12.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2852, allocations: 4 kB / 439.4 MB, free: 12.14 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.0006301/0.2858, allocations: 0.5158 MB / 439.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2858, allocations: 15.89 kB / 439.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008809/0.2867, allocations: 92.55 kB / 440 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.287, allocations: 263.9 kB / 440.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2871, allocations: 20.31 kB / 440.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.2871, allocations: 16.28 kB / 440.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.2875, allocations: 322 kB / 440.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2876, allocations: 4 kB / 440.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.2876, allocations: 4 kB / 440.6 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.2876, allocations: 27.92 kB / 440.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.288, allocations: 287.8 kB / 440.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.2894, allocations: 1.264 MB / 442.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003666/0.2898, allocations: 229.1 kB / 442.4 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2899, allocations: 102 kB / 442.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.29, allocations: 11.94 kB / 442.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.29, allocations: 30.56 kB / 442.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.29, allocations: 0 / 442.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007021/0.2907, allocations: 440.1 kB / 443 MB, free: 8.297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.2908, allocations: 81.05 kB / 443 MB, free: 8.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.2909, allocations: 198.4 kB / 443.2 MB, free: 7.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.2909, allocations: 29.83 kB / 443.3 MB, free: 7.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.291, allocations: 163.9 kB / 443.4 MB, free: 7.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.291, allocations: 55.2 kB / 443.5 MB, free: 7.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.2911, allocations: 53.61 kB / 443.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.2912, allocations: 326.8 kB / 443.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.2913, allocations: 91.88 kB / 443.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.2914, allocations: 157.7 kB / 444.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.2917, allocations: 264.3 kB / 444.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2917, allocations: 0 / 444.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003259/0.292, allocations: 293.3 kB / 444.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.292, allocations: 15.28 kB / 444.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2921, allocations: 7.984 kB / 444.7 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.2921, allocations: 3.938 kB / 444.7 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.2923, allocations: 59.89 kB / 444.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.2923, allocations: 4 kB / 444.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.2925, allocations: 15.98 kB / 444.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.2925, allocations: 8 kB / 444.8 MB, free: 6.387 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.2926, allocations: 161.7 kB / 444.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.2926, allocations: 19.81 kB / 444.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/0.293, allocations: 231.3 kB / 445.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.293, allocations: 0 / 445.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.293, allocations: 0 / 445.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.293, allocations: 4 kB / 445.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.294, allocations: 0.948 MB / 446.1 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.294, allocations: 4 kB / 446.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.2942, allocations: 39.91 kB / 446.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2942, allocations: 4 kB / 446.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.2942, allocations: 8 kB / 446.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.2942, allocations: 15.88 kB / 446.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2942, allocations: 4 kB / 446.2 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.2945, allocations: 413 kB / 446.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.2946, allocations: 92.92 kB / 446.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.2946, allocations: 11.98 kB / 446.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.2948, allocations: 15.94 kB / 446.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.2948, allocations: 19.92 kB / 446.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2948, allocations: 15.92 kB / 446.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.45e-05/0.2949, allocations: 155 kB / 446.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2949, allocations: 0 / 446.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003431/0.2953, allocations: 55.94 kB / 446.9 MB, free: 3.992 MB / 318.1 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 (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.051e-05/0.2954, allocations: 111.1 kB / 447.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.2957, allocations: 227.5 kB / 447.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2957, allocations: 4 kB / 447.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.2958, allocations: 104.7 kB / 447.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.2962, allocations: 46.41 kB / 447.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.2969, allocations: 0.5574 MB / 448 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.2971, allocations: 0.7671 MB / 448.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.2972, allocations: 49.5 kB / 448.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.2973, allocations: 19.44 kB / 448.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2973, allocations: 0 / 448.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of Templates: time 0.004056/0.3013, allocations: 1.88 MB / 450.7 MB, free: 136 kB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)