Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.002625/0.002624, allocations: 192 kB / 18.63 MB, free: 4.375 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.584/1.584, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1829/0.1829, allocations: 37.99 MB / 309.8 MB, free: 5.977 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.001316/0.001316, allocations: 67.89 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2732, allocations: 55.24 MB / 432 MB, free: 19.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005114/0.2784, allocations: 3.478 MB / 435.5 MB, free: 16.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.2806, allocations: 1.563 MB / 437.1 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.2808, allocations: 11.88 kB / 437.1 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007539/0.2816, allocations: 263 kB / 437.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005843/0.2822, allocations: 278.9 kB / 437.6 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.2825, allocations: 123.6 kB / 437.7 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.2829, allocations: 346.9 kB / 438.1 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.2831, allocations: 145.8 kB / 438.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.2833, allocations: 151.4 kB / 438.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.2835, allocations: 147.5 kB / 438.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.2836, allocations: 12 kB / 438.5 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004118/0.284, allocations: 327.1 kB / 438.8 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.2841, allocations: 103.8 kB / 438.9 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/0.2842, allocations: 103.4 kB / 439 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.2846, allocations: 359 kB / 439.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2846, allocations: 0 / 439.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.2846, allocations: 4 kB / 439.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2846, allocations: 0 / 439.4 MB, free: 12.26 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.0005065/0.2851, allocations: 0.5181 MB / 439.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2851, allocations: 15.89 kB / 439.9 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008951/0.286, allocations: 104.5 kB / 440 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.2864, allocations: 263.9 kB / 440.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.2864, allocations: 16.36 kB / 440.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.2865, allocations: 24.28 kB / 440.3 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.2869, allocations: 334 kB / 440.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.2869, allocations: 3.938 kB / 440.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.2869, allocations: 7.984 kB / 440.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.287, allocations: 19.98 kB / 440.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.2874, allocations: 311.7 kB / 441 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.2888, allocations: 1.248 MB / 442.2 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.2891, allocations: 176.9 kB / 442.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.2892, allocations: 101.7 kB / 442.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.2892, allocations: 0 / 442.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2893, allocations: 38.56 kB / 442.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.2893, allocations: 3.938 kB / 442.5 MB, free: 8.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001307/0.2906, allocations: 0.6544 MB / 443.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.2906, allocations: 89.17 kB / 443.3 MB, free: 8.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.2908, allocations: 198.3 kB / 443.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2908, allocations: 25.7 kB / 443.5 MB, free: 7.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.2909, allocations: 159.9 kB / 443.7 MB, free: 7.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.2909, allocations: 55.2 kB / 443.7 MB, free: 7.629 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.291, allocations: 49.59 kB / 443.8 MB, free: 7.574 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.2911, allocations: 326.8 kB / 444.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2912, allocations: 83.95 kB / 444.2 MB, free: 7.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.2913, allocations: 148.5 kB / 444.3 MB, free: 6.988 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.2915, allocations: 252.4 kB / 444.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/0.2916, allocations: 4 kB / 444.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005028/0.2921, allocations: 357 kB / 444.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2921, allocations: 8 kB / 444.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2921, allocations: 4 kB / 444.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.2925, allocations: 84.78 kB / 445 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.2926, allocations: 44.2 kB / 445 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.2946, allocations: 2.165 MB / 447.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.2947, allocations: 11.98 kB / 447.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.2948, allocations: 8 kB / 447.2 MB, free: 3.887 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.2949, allocations: 169.6 kB / 447.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.2949, allocations: 15.81 kB / 447.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.2954, allocations: 320.1 kB / 447.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2954, allocations: 0 / 447.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.2955, allocations: 3.938 kB / 447.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2955, allocations: 4 kB / 447.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/0.2964, allocations: 0.7387 MB / 448.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2965, allocations: 3.984 kB / 448.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.881e-05/0.2966, allocations: 27.92 kB / 448.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002424/0.2968, allocations: 84.84 kB / 448.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2968, allocations: 7.938 kB / 448.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.2989, allocations: 2.041 MB / 450.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2989, allocations: 0 / 450.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007812/0.2997, allocations: 418.8 kB / 451 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.2998, allocations: 92.92 kB / 451.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.2998, allocations: 11.94 kB / 451.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.2999, allocations: 15.98 kB / 451.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.3, allocations: 11.89 kB / 451.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3, allocations: 8 kB / 451.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.3001, allocations: 148.1 kB / 451.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3001, allocations: 0 / 451.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004521/0.3006, allocations: 64 kB / 451.4 MB, free: 15.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001155/0.3007, allocations: 103.2 kB / 451.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006928/0.3014, allocations: 378.3 kB / 451.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3014, allocations: 0 / 451.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.3018, allocations: 260.2 kB / 452.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.3023, allocations: 44.45 kB / 452.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009061/0.3033, allocations: 494.6 kB / 452.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.3036, allocations: 0.7597 MB / 453.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.3037, allocations: 41.64 kB / 453.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.3038, allocations: 23.38 kB / 453.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3038, allocations: 0 / 453.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of Templates: time 0.006422/0.3102, allocations: 2.954 MB / 456.4 MB, free: 10.35 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)