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/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.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.004275/0.004275, allocations: 89.58 kB / 15.91 MB, free: 6.301 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.001114/0.001114, allocations: 195.7 kB / 16.83 MB, free: 6.234 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.221/1.221, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.141/0.141, allocations: 8.092 MB / 298.7 MB, free: 2.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009778/0.0009778, allocations: 55.91 kB / 361 MB, free: 13.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09233/0.09332, allocations: 51.52 MB / 412.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003703/0.09705, allocations: 3.233 MB / 415.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.09871, allocations: 1.129 MB / 416.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.09883, allocations: 4 kB / 416.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003631/0.09922, allocations: 151.3 kB / 417.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.09971, allocations: 242.8 kB / 417.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.1015, allocations: 1.236 MB / 418.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.102, allocations: 489.9 kB / 419 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.1022, allocations: 111.8 kB / 419.1 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.1023, allocations: 183.3 kB / 419.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.1026, allocations: 238.9 kB / 419.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.47e-05/0.1027, allocations: 28 kB / 419.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.1031, allocations: 287.8 kB / 419.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.1032, allocations: 87.61 kB / 419.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.1034, allocations: 202.9 kB / 420.1 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005938/0.104, allocations: 0.666 MB / 420.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.104, allocations: 0 / 420.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.104, allocations: 0 / 420.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.104, allocations: 0 / 420.8 MB, free: 1.836 MB / 350.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.004204/0.1082, allocations: 1.313 MB / 422.1 MB, free: 476 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1083, allocations: 12.03 kB / 422.1 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.1084, allocations: 48.38 kB / 422.2 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.1088, allocations: 355.3 kB / 422.5 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/0.1089, allocations: 54.83 kB / 422.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.1089, allocations: 36.38 kB / 422.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008327/0.1098, allocations: 492.7 kB / 423.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1098, allocations: 0 / 423.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.1098, allocations: 16 kB / 423.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1099, allocations: 8 kB / 423.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008199/0.1107, allocations: 458 kB / 423.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.1132, allocations: 1.972 MB / 425.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.1143, allocations: 0.5507 MB / 426.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005863/0.1149, allocations: 329.5 kB / 426.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.115, allocations: 93.42 kB / 426.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009714/0.116, allocations: 0.5463 MB / 427 MB, free: 11.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.235e-06/0.116, allocations: 7.938 kB / 427 MB, free: 11.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.006161/0.1222, allocations: 1.881 MB / 428.9 MB, free: 9.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.1223, allocations: 195.9 kB / 429.1 MB, free: 9.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.1228, allocations: 320.5 kB / 429.4 MB, free: 8.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.1228, allocations: 37.7 kB / 429.5 MB, free: 8.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.123, allocations: 180.8 kB / 429.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.1232, allocations: 153.8 kB / 429.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.1234, allocations: 114.1 kB / 429.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1235, allocations: 350.7 kB / 430.2 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.124, allocations: 289 kB / 430.5 MB, free: 7.633 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.1246, allocations: 350 kB / 430.9 MB, free: 7.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008398/0.133, allocations: 2.146 MB / 433 MB, free: 5.105 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.133, allocations: 0 / 433 MB, free: 5.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003383/0.1364, allocations: 1.305 MB / 434.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.1365, allocations: 37.69 kB / 434.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1365, allocations: 0 / 434.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003726/0.1402, allocations: 0.8628 MB / 435.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.1406, allocations: 71.91 kB / 435.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.1423, allocations: 1.282 MB / 436.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/0.1429, allocations: 87.47 kB / 436.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.143, allocations: 16 kB / 436.7 MB, free: 1.383 MB / 366.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.0003411/0.1433, allocations: 236 kB / 436.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.76e-05/0.1434, allocations: 43.53 kB / 436.9 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1424/0.2858, allocations: 1.216 MB / 438.2 MB, free: 58.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.2858, allocations: 5.188 kB / 438.2 MB, free: 58.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2859, allocations: 0 / 438.2 MB, free: 58.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2859, allocations: 7.281 kB / 438.2 MB, free: 58.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.2865, allocations: 0.6225 MB / 438.8 MB, free: 58.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2865, allocations: 0 / 438.8 MB, free: 58.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.2867, allocations: 49.56 kB / 438.8 MB, free: 58.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003553/0.2902, allocations: 0.9158 MB / 439.8 MB, free: 58.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.2903, allocations: 16.14 kB / 439.8 MB, free: 58.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.292, allocations: 1.397 MB / 441.2 MB, free: 57.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2921, allocations: 3.719 kB / 441.2 MB, free: 57.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.2937, allocations: 1.185 MB / 442.4 MB, free: 57.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.2939, allocations: 196.1 kB / 442.5 MB, free: 57.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.294, allocations: 24.66 kB / 442.6 MB, free: 57.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.2945, allocations: 64.19 kB / 442.6 MB, free: 57.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.2946, allocations: 51.06 kB / 442.7 MB, free: 57.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.2947, allocations: 23.2 kB / 442.7 MB, free: 57.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.2949, allocations: 225.8 kB / 442.9 MB, free: 57.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2949, allocations: 3.875 kB / 442.9 MB, free: 57.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004051/0.2953, allocations: 146 kB / 443.1 MB, free: 57.28 MB / 366.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.0001973/0.2955, allocations: 149.3 kB / 443.2 MB, free: 57.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001667/0.2972, allocations: 0.9192 MB / 444.1 MB, free: 56.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2972, allocations: 0 / 444.1 MB, free: 56.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.2983, allocations: 0.6725 MB / 444.8 MB, free: 56.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2987, allocations: 51.55 kB / 444.9 MB, free: 56.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2999, allocations: 0.967 MB / 445.8 MB, free: 55.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.3001, allocations: 0.8092 MB / 446.6 MB, free: 55.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.3002, allocations: 39.36 kB / 446.7 MB, free: 55.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.3003, allocations: 33.91 kB / 446.7 MB, free: 55.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3003, allocations: 0 / 446.7 MB, free: 55.13 MB / 366.1 MB Notification: Performance of Templates: time 0.0108/0.3111, allocations: 9.502 MB / 456.2 MB, free: 54.53 MB / 366.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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1)