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/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.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.0007883/0.0007882, allocations: 103 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009486/0.0009483, allocations: 180.4 kB / 16.96 MB, free: 6.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.554/1.554, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2114/0.2114, allocations: 8.083 MB / 300.2 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003617, allocations: 20 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1321, allocations: 52.51 MB / 416 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002623/0.1348, allocations: 1.506 MB / 417.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003574/0.1384, allocations: 1.707 MB / 419.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1385, allocations: 0 / 419.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.1391, allocations: 127.5 kB / 419.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.1396, allocations: 115.4 kB / 419.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.1418, allocations: 0.903 MB / 420.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006252/0.1425, allocations: 322.6 kB / 420.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.1427, allocations: 60.69 kB / 420.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.1429, allocations: 123.5 kB / 420.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.1432, allocations: 147.4 kB / 421 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.1432, allocations: 16 kB / 421 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005687/0.1438, allocations: 219.8 kB / 421.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.1439, allocations: 47.7 kB / 421.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.1441, allocations: 161 kB / 421.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007366/0.1448, allocations: 474.8 kB / 421.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1448, allocations: 4 kB / 421.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1449, allocations: 0 / 421.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1449, allocations: 0 / 421.9 MB, free: 2.465 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.004878/0.1498, allocations: 1.007 MB / 422.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.1498, allocations: 8.031 kB / 422.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.15, allocations: 36.66 kB / 422.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.1504, allocations: 290.7 kB / 423.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.1505, allocations: 16.38 kB / 423.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.1506, allocations: 24.56 kB / 423.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009278/0.1516, allocations: 342.9 kB / 423.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1516, allocations: 0 / 423.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.909e-05/0.1516, allocations: 8 kB / 423.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1517, allocations: 8 kB / 423.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/0.1524, allocations: 271.8 kB / 423.9 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2711/0.4235, allocations: 0.9366 MB / 424.8 MB, free: 41.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/0.4244, allocations: 439.5 kB / 425.3 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.4247, allocations: 201.8 kB / 425.5 MB, free: 41.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009376/0.4257, allocations: 0.8181 MB / 426.3 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006161/0.4263, allocations: 379.2 kB / 426.6 MB, free: 40.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.786e-06/0.4263, allocations: 0 / 426.6 MB, free: 40.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002725/0.4291, allocations: 1.043 MB / 427.7 MB, free: 40.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.4292, allocations: 219.3 kB / 427.9 MB, free: 39.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.4295, allocations: 264.6 kB / 428.2 MB, free: 39.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.4295, allocations: 35.55 kB / 428.2 MB, free: 39.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.4296, allocations: 148.2 kB / 428.3 MB, free: 39.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.4297, allocations: 98.45 kB / 428.4 MB, free: 39.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.4298, allocations: 49.39 kB / 428.5 MB, free: 39.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.4299, allocations: 342.1 kB / 428.8 MB, free: 39.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.4301, allocations: 134.2 kB / 428.9 MB, free: 39.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.4304, allocations: 243.2 kB / 429.2 MB, free: 39.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003161/0.4336, allocations: 1.02 MB / 430.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4336, allocations: 0 / 430.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001083/0.4347, allocations: 0.5986 MB / 430.8 MB, free: 38.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.4348, allocations: 42.05 kB / 430.8 MB, free: 38.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4348, allocations: 3.156 kB / 430.8 MB, free: 38.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.4362, allocations: 357.2 kB / 431.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.4365, allocations: 65.39 kB / 431.3 MB, free: 38.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.4383, allocations: 2.161 MB / 433.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.4388, allocations: 85.31 kB / 433.5 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.4389, allocations: 15.19 kB / 433.5 MB, free: 36.88 MB / 350.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.0003967/0.4393, allocations: 218.9 kB / 433.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.4393, allocations: 35.38 kB / 433.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.4413, allocations: 0.8363 MB / 434.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.4413, allocations: 5.516 kB / 434.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4413, allocations: 0.5156 kB / 434.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.4413, allocations: 4.766 kB / 434.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.4418, allocations: 436.8 kB / 435 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4418, allocations: 3.422 kB / 435 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.442, allocations: 33.47 kB / 435.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/0.4435, allocations: 422.4 kB / 435.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.4435, allocations: 18.84 kB / 435.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.4458, allocations: 2.261 MB / 437.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.4458, allocations: 5.672 kB / 437.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.4477, allocations: 1.061 MB / 438.8 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.4479, allocations: 153 kB / 439 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.516e-05/0.448, allocations: 17.78 kB / 439 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.4483, allocations: 65.59 kB / 439.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.4485, allocations: 31.66 kB / 439.1 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.4485, allocations: 17.28 kB / 439.1 MB, free: 33.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001815/0.4487, allocations: 187.7 kB / 439.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4487, allocations: 0 / 439.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.4491, allocations: 101.4 kB / 439.4 MB, free: 33.61 MB / 350.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.0002311/0.4494, allocations: 144.2 kB / 439.5 MB, free: 33.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.4507, allocations: 0.6445 MB / 440.2 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4507, allocations: 0 / 440.2 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008514/0.4515, allocations: 0.5595 MB / 440.7 MB, free: 32.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.4518, allocations: 35.58 kB / 440.8 MB, free: 32.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.453, allocations: 0.746 MB / 441.5 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.4533, allocations: 0.7616 MB / 442.3 MB, free: 31.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.4535, allocations: 29.61 kB / 442.3 MB, free: 31.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.4535, allocations: 23.72 kB / 442.3 MB, free: 31.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4536, allocations: 3.094 kB / 442.3 MB, free: 31.57 MB / 350.1 MB Notification: Performance of Templates: time 0.01034/0.4639, allocations: 5.643 MB / 448 MB, free: 31.13 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) Environment - environmentSimulation: