Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 107.8 kB / 17.07 MB, free: 5.68 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.0009891/0.0009891, allocations: 194.9 kB / 18.01 MB, free: 5.02 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05314/0.05314, allocations: 8.091 MB / 300 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 363.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.229, allocations: 51.51 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003366/0.2324, allocations: 3.205 MB / 417.9 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.2339, allocations: 1.101 MB / 419 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.2341, allocations: 11.94 kB / 419 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004072/0.2345, allocations: 167 kB / 419.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005229/0.235, allocations: 258.5 kB / 419.4 MB, free: 20.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.2367, allocations: 1.264 MB / 420.7 MB, free: 19.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.2372, allocations: 0.5292 MB / 421.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.2374, allocations: 133.8 kB / 421.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.2375, allocations: 211.2 kB / 421.6 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.2378, allocations: 254.9 kB / 421.8 MB, free: 18.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.2378, allocations: 44 kB / 421.8 MB, free: 18.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.2382, allocations: 311.7 kB / 422.2 MB, free: 17.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.2383, allocations: 83.62 kB / 422.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.2385, allocations: 234.9 kB / 422.5 MB, free: 17.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.2391, allocations: 0.6932 MB / 423.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2391, allocations: 0 / 423.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2391, allocations: 0 / 423.2 MB, free: 16.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2391, allocations: 0 / 423.2 MB, free: 16.93 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.004079/0.2432, allocations: 1.315 MB / 424.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2432, allocations: 11.89 kB / 424.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.2434, allocations: 48.47 kB / 424.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.2437, allocations: 355.2 kB / 424.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.2438, allocations: 54.83 kB / 424.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.2439, allocations: 36.38 kB / 425 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.2446, allocations: 480.8 kB / 425.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2447, allocations: 0 / 425.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.2447, allocations: 12 kB / 425.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.2447, allocations: 8 kB / 425.5 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/0.2455, allocations: 462 kB / 425.9 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00227/0.2477, allocations: 1.98 MB / 427.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009724/0.2487, allocations: 0.5468 MB / 428.4 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.2492, allocations: 333.5 kB / 428.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.2493, allocations: 97.36 kB / 428.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007562/0.2501, allocations: 0.5327 MB / 429.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 3.056e-06/0.2501, allocations: 3.984 kB / 429.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.005359/0.2555, allocations: 1.884 MB / 431.3 MB, free: 8.426 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.2556, allocations: 203.9 kB / 431.5 MB, free: 8.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.2559, allocations: 324.3 kB / 431.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.2559, allocations: 37.7 kB / 431.8 MB, free: 7.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.256, allocations: 176.9 kB / 432 MB, free: 7.629 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.634e-05/0.2561, allocations: 153.7 kB / 432.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.2563, allocations: 114.2 kB / 432.3 MB, free: 7.359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.2563, allocations: 350.7 kB / 432.6 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.2568, allocations: 289.1 kB / 432.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.2572, allocations: 346 kB / 433.2 MB, free: 6.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007164/0.2644, allocations: 2.149 MB / 435.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2644, allocations: 0 / 435.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002997/0.2674, allocations: 1.301 MB / 436.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.2675, allocations: 41.69 kB / 436.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2675, allocations: 3.938 kB / 436.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/0.2708, allocations: 0.8605 MB / 437.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.2711, allocations: 75.89 kB / 437.7 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.2726, allocations: 1.274 MB / 438.9 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/0.2732, allocations: 87.53 kB / 439 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.2733, allocations: 23.98 kB / 439 MB, free: 484 kB / 302.1 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) "Current tap position" type: Integer varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * 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 {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004034/0.2737, allocations: 237.6 kB / 439.3 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.2738, allocations: 47.47 kB / 439.3 MB, free: 184 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.276, allocations: 1.224 MB / 440.5 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.276, allocations: 8 kB / 440.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.276, allocations: 0 / 440.5 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.276, allocations: 7.984 kB / 440.6 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/0.2767, allocations: 0.6306 MB / 441.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2768, allocations: 0 / 441.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.2769, allocations: 39.97 kB / 441.2 MB, free: 14.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003554/0.2805, allocations: 0.9117 MB / 442.1 MB, free: 13.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.739e-05/0.2806, allocations: 16 kB / 442.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.2827, allocations: 1.397 MB / 443.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2827, allocations: 4.125 kB / 443.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.2846, allocations: 1.182 MB / 444.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.2848, allocations: 200.4 kB / 444.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.2849, allocations: 27.98 kB / 445 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/0.2854, allocations: 59.94 kB / 445 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.2856, allocations: 52.38 kB / 445.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/0.2856, allocations: 19.98 kB / 445.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000257/0.2859, allocations: 227.1 kB / 445.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2859, allocations: 0 / 445.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.2864, allocations: 143.9 kB / 445.4 MB, free: 9.887 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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * 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: 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 {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000259/0.2866, allocations: 151.6 kB / 445.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.2885, allocations: 0.9285 MB / 446.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2886, allocations: 0 / 446.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.2899, allocations: 0.6763 MB / 447.2 MB, free: 8.098 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.2903, allocations: 48.97 kB / 447.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.2918, allocations: 0.8253 MB / 448.1 MB, free: 7.207 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.2922, allocations: 0.8007 MB / 448.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.2923, allocations: 47.25 kB / 448.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.2924, allocations: 35.42 kB / 449 MB, free: 6.297 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2924, allocations: 0 / 449 MB, free: 6.297 MB / 318.1 MB Notification: Performance of Templates: time 0.01634/0.3088, allocations: 10.54 MB / 459.5 MB, free: 11.81 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1)