Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 111.7 kB / 17.08 MB, free: 6 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.001275/0.001275, allocations: 192 kB / 18.02 MB, free: 5.082 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.046/0.046, allocations: 8.083 MB / 300 MB, free: 6.668 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 59.91 kB / 363.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2249, allocations: 51.52 MB / 414.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002528/0.2275, allocations: 1.825 MB / 416.5 MB, free: 23.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.2291, allocations: 1.699 MB / 418.2 MB, free: 21.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.535e-05/0.2292, allocations: 3.938 kB / 418.2 MB, free: 21.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.2295, allocations: 135.3 kB / 418.4 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.2298, allocations: 139.1 kB / 418.5 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.2311, allocations: 0.9487 MB / 419.4 MB, free: 20.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.2315, allocations: 366.6 kB / 419.8 MB, free: 20.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2317, allocations: 76.69 kB / 419.9 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.2319, allocations: 131.5 kB / 420 MB, free: 20.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.232, allocations: 159.3 kB / 420.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.2321, allocations: 32 kB / 420.2 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.2324, allocations: 239.7 kB / 420.4 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.2325, allocations: 47.83 kB / 420.5 MB, free: 19.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.2326, allocations: 155.2 kB / 420.6 MB, free: 19.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.2331, allocations: 0.5002 MB / 421.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2331, allocations: 0 / 421.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2331, allocations: 0 / 421.1 MB, free: 18.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.2331, allocations: 0 / 421.1 MB, free: 18.98 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003244/0.2364, allocations: 1.058 MB / 422.2 MB, free: 17.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2364, allocations: 15.89 kB / 422.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.2365, allocations: 36.56 kB / 422.2 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.2368, allocations: 290.8 kB / 422.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.2368, allocations: 20.31 kB / 422.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.2369, allocations: 24.56 kB / 422.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.2374, allocations: 339 kB / 422.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2375, allocations: 0 / 422.9 MB, free: 17.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.2375, allocations: 8 kB / 422.9 MB, free: 17.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2375, allocations: 4 kB / 422.9 MB, free: 17.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.238, allocations: 267.8 kB / 423.2 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.2391, allocations: 0.9283 MB / 424.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.2399, allocations: 443.1 kB / 424.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.2402, allocations: 200.8 kB / 424.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007298/0.2409, allocations: 0.8192 MB / 425.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.2414, allocations: 390.7 kB / 425.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.2415, allocations: 0 / 425.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.0025/0.244, allocations: 1.036 MB / 427 MB, free: 12.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.244, allocations: 221.6 kB / 427.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.2442, allocations: 258.6 kB / 427.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.2443, allocations: 33.7 kB / 427.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.2444, allocations: 144.7 kB / 427.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.2444, allocations: 106.5 kB / 427.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.2445, allocations: 89.61 kB / 427.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.152e-05/0.2446, allocations: 334.8 kB / 428.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.2448, allocations: 128.7 kB / 428.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.2451, allocations: 250.3 kB / 428.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/0.2479, allocations: 1.01 MB / 429.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.248, allocations: 4 kB / 429.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000895/0.2489, allocations: 0.5977 MB / 430.1 MB, free: 9.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.2489, allocations: 37.69 kB / 430.1 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2489, allocations: 4 kB / 430.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.2503, allocations: 359.3 kB / 430.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.2505, allocations: 59.91 kB / 430.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.2521, allocations: 2.272 MB / 432.8 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.2525, allocations: 75.64 kB / 432.9 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.2525, allocations: 12 kB / 432.9 MB, free: 6.43 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" fixed = true ) type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.2528, allocations: 219.7 kB / 433.1 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.2528, allocations: 35.66 kB / 433.2 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.2544, allocations: 0.8314 MB / 434 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2544, allocations: 3.984 kB / 434 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2544, allocations: 7.938 kB / 434 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2544, allocations: 4 kB / 434 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.2547, allocations: 433.1 kB / 434.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2547, allocations: 0 / 434.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.2549, allocations: 35.91 kB / 434.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.2563, allocations: 407 kB / 434.9 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.2563, allocations: 15.98 kB / 434.9 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.2581, allocations: 2.36 MB / 437.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2581, allocations: 0 / 437.2 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.2599, allocations: 1.046 MB / 438.3 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.26, allocations: 156.6 kB / 438.4 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.2601, allocations: 20 kB / 438.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.2604, allocations: 60 kB / 438.5 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.2605, allocations: 39.94 kB / 438.6 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.2606, allocations: 8 kB / 438.6 MB, free: 472 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.2607, allocations: 190 kB / 438.7 MB, free: 284 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2607, allocations: 0 / 438.7 MB, free: 284 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003807/0.2611, allocations: 96 kB / 438.8 MB, free: 188 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000194/0.2613, allocations: 147.2 kB / 439 MB, free: 28 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.2627, allocations: 0.6549 MB / 439.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2627, allocations: 0 / 439.6 MB, free: 15.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008979/0.2636, allocations: 0.5535 MB / 440.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.2639, allocations: 32.5 kB / 440.2 MB, free: 14.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.265, allocations: 0.6193 MB / 440.8 MB, free: 14.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.2653, allocations: 0.7566 MB / 441.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.2654, allocations: 34.27 kB / 441.6 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.2655, allocations: 27.42 kB / 441.7 MB, free: 13.26 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2655, allocations: 0 / 441.7 MB, free: 13.26 MB / 318.1 MB Notification: Performance of Templates: time 0.01103/0.2766, allocations: 6.4 MB / 448.1 MB, free: 6.906 MB / 318.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1)