Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 177.4 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.5 MB / 230 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009418/0.0009417, allocations: 105.5 kB / 280.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05257/0.05257, allocations: 8.103 MB / 339.8 MB, free: 7.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.343e-05, allocations: 4.375 kB / 398.6 MB, free: 49.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 52.53 MB / 451.1 MB, free: 5.422 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.2251, allocations: 80.9 MB / 0.5195 GB, free: 4.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.2254, allocations: 67.97 kB / 0.5196 GB, free: 4.344 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2415/0.4669, allocations: 12.02 MB / 0.5313 GB, free: 79.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4669, allocations: 3.938 kB / 0.5313 GB, free: 79.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.4669, allocations: 8.5 kB / 0.5313 GB, free: 79.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002215/0.4691, allocations: 0.9574 MB / 0.5323 GB, free: 78.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4692, allocations: 12.64 kB / 0.5323 GB, free: 78.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.4693, allocations: 68.36 kB / 0.5324 GB, free: 78.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/0.47, allocations: 475.2 kB / 0.5328 GB, free: 78.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.47, allocations: 7.094 kB / 0.5328 GB, free: 78.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.4701, allocations: 13.53 kB / 0.5328 GB, free: 78.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005453/0.4707, allocations: 355.1 kB / 0.5332 GB, free: 78.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.4712, allocations: 403.9 kB / 0.5336 GB, free: 78.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4713, allocations: 0 / 0.5336 GB, free: 78.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.4713, allocations: 4.281 kB / 0.5336 GB, free: 78.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4713, allocations: 3.688 kB / 0.5336 GB, free: 78.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.4733, allocations: 1.394 MB / 0.5349 GB, free: 77.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008112/0.4742, allocations: 437.5 kB / 0.5353 GB, free: 77.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.4746, allocations: 277.5 kB / 0.5356 GB, free: 77.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/0.4747, allocations: 11.94 kB / 0.5356 GB, free: 77.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006617/0.4753, allocations: 0.4959 MB / 0.5361 GB, free: 77.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.853e-06/0.4754, allocations: 0.6875 kB / 0.5361 GB, free: 77.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.002312/0.4777, allocations: 0.9099 MB / 0.537 GB, free: 77.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.4778, allocations: 248.8 kB / 0.5372 GB, free: 76.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/0.4785, allocations: 0.5731 MB / 0.5378 GB, free: 76.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.4786, allocations: 33.39 kB / 0.5378 GB, free: 76.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.4788, allocations: 259.2 kB / 0.5381 GB, free: 76.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.912e-05/0.4789, allocations: 110.1 kB / 0.5382 GB, free: 76.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.4789, allocations: 3.781 kB / 0.5382 GB, free: 76.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4791, allocations: 386.6 kB / 0.5385 GB, free: 76.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.4793, allocations: 203 kB / 0.5387 GB, free: 76.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.4796, allocations: 278.7 kB / 0.539 GB, free: 76.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004812/0.4801, allocations: 238.2 kB / 0.5392 GB, free: 76.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4801, allocations: 3.812 kB / 0.5392 GB, free: 76.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001934/0.4821, allocations: 0.8856 MB / 0.5401 GB, free: 75.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.4821, allocations: 71.02 kB / 0.5402 GB, free: 75.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4822, allocations: 0 / 0.5402 GB, free: 75.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.4836, allocations: 348.4 kB / 0.5405 GB, free: 75.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.4838, allocations: 46.94 kB / 0.5405 GB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/0.4855, allocations: 2.098 MB / 0.5426 GB, free: 73.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.486, allocations: 67.14 kB / 0.5427 GB, free: 73.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.4861, allocations: 27.67 kB / 0.5427 GB, free: 73.72 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = false ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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.0002765/0.4864, allocations: 213.2 kB / 0.5429 GB, free: 73.53 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001869/0.4883, allocations: 1.049 MB / 0.5439 GB, free: 72.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/0.4884, allocations: 67.25 kB / 0.544 GB, free: 72.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.4903, allocations: 1.098 MB / 0.545 GB, free: 71.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4903, allocations: 4 kB / 0.545 GB, free: 71.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4903, allocations: 0 / 0.545 GB, free: 71.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.4903, allocations: 0 / 0.545 GB, free: 71.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.4909, allocations: 0.55 MB / 0.5456 GB, free: 70.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4909, allocations: 0 / 0.5456 GB, free: 70.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.491, allocations: 35.92 kB / 0.5456 GB, free: 70.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.4923, allocations: 379.7 kB / 0.546 GB, free: 70.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.084e-05/0.4924, allocations: 12 kB / 0.546 GB, free: 70.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.4939, allocations: 2.156 MB / 0.5481 GB, free: 68.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4939, allocations: 0 / 0.5481 GB, free: 68.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.4958, allocations: 1.093 MB / 0.5492 GB, free: 66.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.4961, allocations: 228 kB / 0.5494 GB, free: 66.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4962, allocations: 20 kB / 0.5494 GB, free: 66.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.4966, allocations: 59.94 kB / 0.5495 GB, free: 66.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.4967, allocations: 41.05 kB / 0.5495 GB, free: 66.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.4968, allocations: 31.94 kB / 0.5495 GB, free: 66.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004878/0.4973, allocations: 462.8 kB / 0.55 GB, free: 66.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4973, allocations: 0 / 0.55 GB, free: 66.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005188/0.4978, allocations: 135.9 kB / 0.5501 GB, free: 65.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * 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.00183/0.4996, allocations: 1.587 MB / 0.5516 GB, free: 64.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.5007, allocations: 0.7897 MB / 0.5524 GB, free: 63.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5007, allocations: 3.938 kB / 0.5524 GB, free: 63.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007512/0.5015, allocations: 0.6762 MB / 0.5531 GB, free: 62.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.5018, allocations: 41.2 kB / 0.5531 GB, free: 62.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.5032, allocations: 0.91 MB / 0.554 GB, free: 61.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.5034, allocations: 0.8835 MB / 0.5549 GB, free: 60.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.5036, allocations: 59.25 kB / 0.5549 GB, free: 60.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.5037, allocations: 187.4 kB / 0.5551 GB, free: 60.69 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.5037, allocations: 0 / 0.5551 GB, free: 60.69 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.5337, allocations: 11.76 MB / 0.5666 GB, free: 48.99 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.5339, allocations: 149.2 kB / 0.5667 GB, free: 48.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/2.766, allocations: 4 kB / 0.5667 GB, free: 48.79 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1)