Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 106.1 kB / 16.31 MB, free: 6.391 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.001099/0.001099, allocations: 191.2 kB / 17.24 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05572/0.05572, allocations: 8.107 MB / 299.2 MB, free: 6.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 361.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2746, allocations: 51.51 MB / 413.2 MB, free: 25.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002681/0.2773, allocations: 1.732 MB / 415 MB, free: 23.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2788, allocations: 1.337 MB / 416.3 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.891e-05/0.2789, allocations: 4 kB / 416.3 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.2792, allocations: 103.4 kB / 416.4 MB, free: 22.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.2795, allocations: 99.3 kB / 416.5 MB, free: 22.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007455/0.2803, allocations: 438.2 kB / 416.9 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.2804, allocations: 226.9 kB / 417.2 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.2806, allocations: 122.3 kB / 417.3 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.2807, allocations: 103.6 kB / 417.4 MB, free: 21.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.2809, allocations: 139.5 kB / 417.5 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.281, allocations: 20 kB / 417.5 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.2812, allocations: 127.9 kB / 417.7 MB, free: 21.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.2812, allocations: 51.78 kB / 417.7 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.098e-05/0.2813, allocations: 123.4 kB / 417.8 MB, free: 21.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.2816, allocations: 329 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2816, allocations: 0 / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2816, allocations: 0 / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2817, allocations: 0 / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001497/0.2832, allocations: 0.6592 MB / 418.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2832, allocations: 12.03 kB / 418.8 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.329e-05/0.2833, allocations: 24.66 kB / 418.8 MB, free: 19.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.2835, allocations: 215.3 kB / 419.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.2835, allocations: 20.94 kB / 419.1 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.2835, allocations: 20.38 kB / 419.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.2839, allocations: 292.1 kB / 419.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2839, allocations: 192 / 419.4 MB, free: 19.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.2839, allocations: 15.94 kB / 419.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.284, allocations: 8 kB / 419.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.2842, allocations: 242.9 kB / 419.6 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.2854, allocations: 0.9683 MB / 420.6 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/0.286, allocations: 366.5 kB / 421 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.2862, allocations: 97.69 kB / 421.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.424e-05/0.2862, allocations: 4 kB / 421.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.2862, allocations: 34.56 kB / 421.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.2863, allocations: 3.938 kB / 421.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001073/0.2873, allocations: 0.5247 MB / 421.6 MB, free: 16.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.2874, allocations: 77.11 kB / 421.7 MB, free: 16.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.2876, allocations: 194.6 kB / 421.9 MB, free: 16.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2876, allocations: 33.7 kB / 421.9 MB, free: 16.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.2877, allocations: 156 kB / 422.1 MB, free: 16.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.2877, allocations: 70.94 kB / 422.2 MB, free: 16.38 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.2878, allocations: 61.59 kB / 422.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.2879, allocations: 322.8 kB / 422.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.288, allocations: 91.89 kB / 422.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.2881, allocations: 123.4 kB / 422.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.2884, allocations: 219.2 kB / 423 MB, free: 15.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2884, allocations: 0 / 423 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000509/0.2889, allocations: 339.2 kB / 423.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2889, allocations: 8.062 kB / 423.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.289, allocations: 4 kB / 423.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004037/0.2894, allocations: 73.64 kB / 423.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.2895, allocations: 43.92 kB / 423.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.2913, allocations: 2.887 MB / 426.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.2915, allocations: 23.72 kB / 426.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.2915, allocations: 12 kB / 426.3 MB, free: 11.86 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.2917, allocations: 141.9 kB / 426.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.2917, allocations: 23.8 kB / 426.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.2923, allocations: 288.4 kB / 426.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2923, allocations: 4 kB / 426.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2923, allocations: 0 / 426.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.2923, allocations: 4 kB / 426.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007616/0.2931, allocations: 0.5618 MB / 427.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2931, allocations: 0 / 427.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.2932, allocations: 27.92 kB / 427.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.2935, allocations: 85.64 kB / 427.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.2935, allocations: 0 / 427.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.2958, allocations: 2.867 MB / 430.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2959, allocations: 0 / 430.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.2965, allocations: 428.1 kB / 430.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.2966, allocations: 100.8 kB / 430.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.2966, allocations: 4 kB / 430.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2968, allocations: 23.98 kB / 430.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.2969, allocations: 15.98 kB / 430.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.2969, allocations: 8 kB / 430.9 MB, free: 6.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.2971, allocations: 151.7 kB / 431 MB, free: 6.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2971, allocations: 0 / 431 MB, free: 6.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005688/0.2977, allocations: 79.73 kB / 431.1 MB, free: 6.672 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003512/0.2981, allocations: 120.2 kB / 431.2 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000925/0.299, allocations: 457.3 kB / 431.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.299, allocations: 8 kB / 431.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.2995, allocations: 325.3 kB / 432 MB, free: 5.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.3001, allocations: 26.17 kB / 432 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009083/0.3011, allocations: 423.7 kB / 432.4 MB, free: 5.254 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3014, allocations: 0.7363 MB / 433.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.3015, allocations: 33.45 kB / 433.2 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.3016, allocations: 19.7 kB / 433.2 MB, free: 4.441 MB / 302.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3016, allocations: 4 kB / 433.2 MB, free: 4.438 MB / 302.1 MB Notification: Performance of Templates: time 0.007044/0.3086, allocations: 3.07 MB / 436.3 MB, free: 1.387 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)