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.001347/0.001347, allocations: 100.7 kB / 15.73 MB, free: 436 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.00137/0.001371, allocations: 176.8 kB / 16.61 MB, free: 6.422 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.433/1.433, allocations: 223.2 MB / 240.6 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2699/0.2699, allocations: 8.08 MB / 299.7 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 8 kB / 362.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 52.52 MB / 415.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002131/0.138, allocations: 1.334 MB / 416.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1404, allocations: 1.591 MB / 418.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1405, allocations: 8 kB / 418.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.1409, allocations: 103.5 kB / 418.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.1412, allocations: 127.6 kB / 418.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.1427, allocations: 0.7592 MB / 419.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.1431, allocations: 219.5 kB / 419.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1432, allocations: 56.64 kB / 419.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.1434, allocations: 115.6 kB / 419.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.1436, allocations: 135.5 kB / 419.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.1436, allocations: 16 kB / 419.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003646/0.144, allocations: 195.7 kB / 419.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.144, allocations: 35.84 kB / 420 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.771e-05/0.1441, allocations: 81.55 kB / 420 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.1445, allocations: 351.5 kB / 420.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1446, allocations: 0 / 420.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1446, allocations: 0 / 420.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1446, allocations: 0 / 420.4 MB, free: 3.605 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.003511/0.1481, allocations: 1.015 MB / 421.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1481, allocations: 8.031 kB / 421.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1482, allocations: 31.67 kB / 421.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.1486, allocations: 285.6 kB / 421.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1487, allocations: 19.94 kB / 421.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/0.1487, allocations: 24 kB / 421.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.1494, allocations: 334.8 kB / 422.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.1494, allocations: 0 / 422.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.1494, allocations: 8 kB / 422.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1494, allocations: 7.953 kB / 422.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.1499, allocations: 267.8 kB / 422.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.1513, allocations: 0.9516 MB / 423.3 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007933/0.1521, allocations: 439.3 kB / 423.7 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2477/0.3998, allocations: 0.8104 MB / 424.6 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005582/0.4004, allocations: 376.8 kB / 424.9 MB, free: 40.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.755e-06/0.4005, allocations: 0 / 424.9 MB, free: 40.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002649/0.4031, allocations: 1.031 MB / 426 MB, free: 40.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.4032, allocations: 218.5 kB / 426.2 MB, free: 40.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.4035, allocations: 261.8 kB / 426.4 MB, free: 40 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.4035, allocations: 32.48 kB / 426.5 MB, free: 39.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.4036, allocations: 148.3 kB / 426.6 MB, free: 39.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.4037, allocations: 103.6 kB / 426.7 MB, free: 39.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.4037, allocations: 9 kB / 426.7 MB, free: 39.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.4038, allocations: 337.4 kB / 427 MB, free: 39.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.404, allocations: 136.3 kB / 427.2 MB, free: 39.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.4042, allocations: 237.7 kB / 427.4 MB, free: 39.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.4045, allocations: 190.4 kB / 427.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4045, allocations: 3.156 kB / 427.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009381/0.4054, allocations: 0.5876 MB / 428.2 MB, free: 39.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.4055, allocations: 42.12 kB / 428.2 MB, free: 39.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4055, allocations: 3.344 kB / 428.2 MB, free: 39.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.4069, allocations: 360.5 kB / 428.6 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.4072, allocations: 64.92 kB / 428.6 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.4086, allocations: 2.165 MB / 430.8 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.4091, allocations: 88.84 kB / 430.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.4091, allocations: 19.8 kB / 430.9 MB, free: 37.34 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: 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 varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) "Current tap position" type: Integer slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" fixed = true ) 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 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.varTra.tapChanger.tap,varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,$PRE.varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.furtherTapChangeTimeout) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.000286/0.4094, allocations: 217.3 kB / 431.1 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.4095, allocations: 30.88 kB / 431.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.4111, allocations: 0.8369 MB / 432 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4111, allocations: 3.531 kB / 432 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4111, allocations: 0.5625 kB / 432 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.4111, allocations: 3.469 kB / 432 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.4115, allocations: 443.4 kB / 432.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4115, allocations: 0 / 432.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.4117, allocations: 38.48 kB / 432.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.4131, allocations: 411.2 kB / 432.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.4131, allocations: 11.28 kB / 432.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.4149, allocations: 2.28 MB / 435.2 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4149, allocations: 5.125 kB / 435.2 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.4168, allocations: 1.057 MB / 436.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.417, allocations: 153.7 kB / 436.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.4171, allocations: 21.31 kB / 436.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.4174, allocations: 58.06 kB / 436.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.4176, allocations: 39.62 kB / 436.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.4176, allocations: 16.08 kB / 436.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.4178, allocations: 195.8 kB / 436.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4178, allocations: 0 / 436.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.4183, allocations: 102.8 kB / 436.8 MB, free: 34.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002462/0.4185, allocations: 133.4 kB / 436.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.4197, allocations: 0.6483 MB / 437.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4197, allocations: 4.062 kB / 437.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007047/0.4204, allocations: 0.5417 MB / 438.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.4206, allocations: 34.77 kB / 438.2 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.4215, allocations: 0.7111 MB / 438.9 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.4216, allocations: 0.772 MB / 439.6 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.4218, allocations: 28.8 kB / 439.7 MB, free: 32.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.4218, allocations: 27.94 kB / 439.7 MB, free: 32.58 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4218, allocations: 0 / 439.7 MB, free: 32.58 MB / 350.1 MB Notification: Performance of Templates: time 0.008217/0.43, allocations: 5.466 MB / 445.2 MB, free: 32.15 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: