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/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.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.001044/0.001044, allocations: 104.6 kB / 16.31 MB, free: 6.359 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.001135/0.001135, allocations: 184.6 kB / 17.24 MB, free: 5.879 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.045/0.045, allocations: 8.106 MB / 299.2 MB, free: 6.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.00153, allocations: 71.83 kB / 361.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2723, allocations: 51.5 MB / 413.2 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.00444/0.2768, allocations: 2.466 MB / 415.7 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.2798, allocations: 2.551 MB / 418.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.28, allocations: 8 kB / 418.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.2805, allocations: 171 kB / 418.4 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000634/0.2812, allocations: 286.4 kB / 418.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.283, allocations: 1.278 MB / 420 MB, free: 18.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.2834, allocations: 418.2 kB / 420.4 MB, free: 18.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.2836, allocations: 126.1 kB / 420.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2838, allocations: 167.3 kB / 420.7 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.284, allocations: 207.1 kB / 420.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.314e-05/0.2841, allocations: 32 kB / 420.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000532/0.2846, allocations: 343.7 kB / 421.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.981e-05/0.2847, allocations: 79.73 kB / 421.3 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2849, allocations: 187 kB / 421.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.2855, allocations: 0.6388 MB / 422.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2855, allocations: 4 kB / 422.2 MB, free: 16.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2855, allocations: 0 / 422.2 MB, free: 16.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.2855, allocations: 0 / 422.2 MB, free: 16.63 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.003766/0.2893, allocations: 1.219 MB / 423.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2893, allocations: 12.02 kB / 423.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.2894, allocations: 52.31 kB / 423.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.2898, allocations: 315.5 kB / 423.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.2899, allocations: 58.83 kB / 423.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.2899, allocations: 36.12 kB / 423.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.2905, allocations: 436.5 kB / 424.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2905, allocations: 0 / 424.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.2906, allocations: 12 kB / 424.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2906, allocations: 11.94 kB / 424.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.2911, allocations: 386.1 kB / 424.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.2929, allocations: 1.746 MB / 426.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/0.2937, allocations: 495 kB / 426.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.294, allocations: 256.8 kB / 427.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.294, allocations: 7.984 kB / 427.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005055/0.2945, allocations: 334.9 kB / 427.5 MB, free: 11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.2946, allocations: 0 / 427.5 MB, free: 11 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003851/0.2984, allocations: 1.354 MB / 428.8 MB, free: 9.617 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.2985, allocations: 110.8 kB / 428.9 MB, free: 9.484 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.2987, allocations: 279 kB / 429.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.2988, allocations: 37.7 kB / 429.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.2989, allocations: 172.8 kB / 429.4 MB, free: 8.984 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/0.299, allocations: 141.9 kB / 429.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.2992, allocations: 102.2 kB / 429.7 MB, free: 8.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.2992, allocations: 346.8 kB / 430 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.2996, allocations: 253 kB / 430.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.2999, allocations: 308.6 kB / 430.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.3006, allocations: 0.5625 MB / 431.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3006, allocations: 0 / 431.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001662/0.3023, allocations: 0.9171 MB / 432 MB, free: 6.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3023, allocations: 8 kB / 432 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3023, allocations: 0 / 432 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/0.3047, allocations: 0.6171 MB / 432.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.305, allocations: 75.84 kB / 432.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.3064, allocations: 1.068 MB / 433.8 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.3067, allocations: 47.52 kB / 433.8 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.3068, allocations: 16 kB / 433.8 MB, free: 4.484 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.0001884/0.307, allocations: 173.7 kB / 434 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.307, allocations: 31.62 kB / 434.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.3082, allocations: 0.7778 MB / 434.8 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3082, allocations: 4 kB / 434.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3082, allocations: 3.984 kB / 434.8 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3082, allocations: 4 kB / 434.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.3087, allocations: 0.5602 MB / 435.4 MB, free: 2.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3087, allocations: 4 kB / 435.4 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.3088, allocations: 47.92 kB / 435.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002233/0.3111, allocations: 0.5921 MB / 436 MB, free: 2.223 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.3111, allocations: 12 kB / 436.1 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.3124, allocations: 1.075 MB / 437.1 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3124, allocations: 3.938 kB / 437.1 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.3134, allocations: 0.7327 MB / 437.9 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.3135, allocations: 112.6 kB / 438 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.3136, allocations: 12 kB / 438 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.3139, allocations: 31.91 kB / 438 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.3139, allocations: 24.41 kB / 438 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.314, allocations: 23.98 kB / 438.1 MB, free: 128 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.3142, allocations: 194 kB / 438.3 MB, free: 15.94 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3142, allocations: 0 / 438.3 MB, free: 15.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00044/0.3147, allocations: 139.8 kB / 438.4 MB, free: 15.8 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.001125/0.3158, allocations: 431.6 kB / 438.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.3177, allocations: 0.7319 MB / 439.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3178, allocations: 0 / 439.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.3189, allocations: 402.3 kB / 439.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.3193, allocations: 54.31 kB / 440 MB, free: 14.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.3211, allocations: 0.7561 MB / 440.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.3216, allocations: 0.7888 MB / 441.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000219/0.3218, allocations: 62.91 kB / 441.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/0.3219, allocations: 39.42 kB / 441.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3219, allocations: 0 / 441.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of Templates: time 0.01376/0.3357, allocations: 7.995 MB / 449.6 MB, free: 4.684 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1)