Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 112.6 kB / 17.09 MB, free: 6.004 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.001638/0.001638, allocations: 191 kB / 18.02 MB, free: 5.086 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.45/1.45, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05049/0.05049, allocations: 8.096 MB / 300 MB, free: 6.676 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 55.91 kB / 363.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2622, allocations: 51.52 MB / 414.7 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003426/0.2657, allocations: 2.469 MB / 417.2 MB, free: 22.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.2687, allocations: 2.547 MB / 419.7 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.2689, allocations: 7.938 kB / 419.7 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.2694, allocations: 175 kB / 419.9 MB, free: 20.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00062/0.27, allocations: 290.3 kB / 420.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.2718, allocations: 1.287 MB / 421.5 MB, free: 18.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004497/0.2722, allocations: 410.2 kB / 421.9 MB, free: 18.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.2724, allocations: 125.9 kB / 422 MB, free: 18.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.2726, allocations: 167.3 kB / 422.1 MB, free: 17.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.2728, allocations: 211.1 kB / 422.3 MB, free: 17.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.2728, allocations: 36 kB / 422.4 MB, free: 17.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005413/0.2734, allocations: 343.7 kB / 422.7 MB, free: 17.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2735, allocations: 79.69 kB / 422.8 MB, free: 17.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.2737, allocations: 194.9 kB / 423 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006843/0.2744, allocations: 0.6309 MB / 423.6 MB, free: 16.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.2744, allocations: 0 / 423.6 MB, free: 16.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2744, allocations: 0 / 423.6 MB, free: 16.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.2744, allocations: 0 / 423.6 MB, free: 16.5 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.003695/0.2781, allocations: 1.224 MB / 424.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2782, allocations: 15.83 kB / 424.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2783, allocations: 48.38 kB / 424.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.2787, allocations: 323.5 kB / 425.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/0.2787, allocations: 54.83 kB / 425.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.2788, allocations: 32.12 kB / 425.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.2793, allocations: 444.4 kB / 425.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2794, allocations: 0 / 425.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.2794, allocations: 16 kB / 425.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2794, allocations: 8 kB / 425.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.2799, allocations: 378.1 kB / 426.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.2818, allocations: 1.742 MB / 427.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/0.2826, allocations: 0.4911 MB / 428.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.2829, allocations: 248.8 kB / 428.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.2829, allocations: 19.77 kB / 428.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004725/0.2834, allocations: 315.1 kB / 428.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.794e-06/0.2834, allocations: 3.938 kB / 428.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003671/0.2871, allocations: 1.363 MB / 430.3 MB, free: 9.477 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.2872, allocations: 114.7 kB / 430.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.2874, allocations: 279 kB / 430.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.2875, allocations: 37.7 kB / 430.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.2876, allocations: 168.8 kB / 430.9 MB, free: 8.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.528e-05/0.2877, allocations: 141.9 kB / 431 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.2878, allocations: 94.23 kB / 431.1 MB, free: 8.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.2879, allocations: 342.8 kB / 431.5 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.2882, allocations: 261 kB / 431.7 MB, free: 8.008 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.2886, allocations: 320.5 kB / 432 MB, free: 7.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.2892, allocations: 0.5586 MB / 432.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2892, allocations: 0 / 432.6 MB, free: 7.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001631/0.2909, allocations: 0.9171 MB / 433.5 MB, free: 6.195 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2909, allocations: 4 kB / 433.5 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2909, allocations: 4 kB / 433.5 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002403/0.2933, allocations: 0.614 MB / 434.1 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.2936, allocations: 75.89 kB / 434.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.295, allocations: 1.071 MB / 435.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.2953, allocations: 43.53 kB / 435.3 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.2954, allocations: 19.98 kB / 435.3 MB, free: 4.34 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.2955, allocations: 165.7 kB / 435.5 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.2956, allocations: 31.62 kB / 435.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.2967, allocations: 0.7739 MB / 436.3 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.2967, allocations: 8 kB / 436.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.2967, allocations: 0 / 436.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2967, allocations: 3.984 kB / 436.3 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.2971, allocations: 0.5525 MB / 436.9 MB, free: 2.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2972, allocations: 4 kB / 436.9 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2973, allocations: 55.91 kB / 436.9 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/0.2996, allocations: 0.5846 MB / 437.5 MB, free: 2.098 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.2996, allocations: 15.98 kB / 437.5 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.3009, allocations: 1.077 MB / 438.6 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3009, allocations: 3.938 kB / 438.6 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008972/0.3018, allocations: 0.7288 MB / 439.3 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.3018, allocations: 116.6 kB / 439.4 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.3019, allocations: 8 kB / 439.4 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.3022, allocations: 27.92 kB / 439.5 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.3023, allocations: 32.39 kB / 439.5 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.3023, allocations: 12 kB / 439.5 MB, free: 8 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00025/0.3026, allocations: 206.1 kB / 439.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.715e-06/0.3026, allocations: 0 / 439.7 MB, free: 15.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005148/0.3031, allocations: 139.8 kB / 439.9 MB, free: 15.67 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.3042, allocations: 422.3 kB / 440.3 MB, free: 15.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001763/0.3059, allocations: 0.7124 MB / 441 MB, free: 14.69 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.319e-06/0.3059, allocations: 4 kB / 441 MB, free: 14.69 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.3071, allocations: 418.3 kB / 441.4 MB, free: 14.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.3075, allocations: 52.88 kB / 441.4 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3091, allocations: 0.7558 MB / 442.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.3095, allocations: 0.7927 MB / 443 MB, free: 12.63 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001735/0.3097, allocations: 46.94 kB / 443 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-05/0.3098, allocations: 39.42 kB / 443.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3098, allocations: 0 / 443.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of Templates: time 0.01349/0.3233, allocations: 7.997 MB / 451.1 MB, free: 4.574 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1)