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/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.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",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.001591/0.001591, allocations: 177.6 kB / 8.045 MB, free: 1.027 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.393/1.393, allocations: 221.5 MB / 230 MB, free: 7.555 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.0009019/0.0009018, allocations: 91.83 kB / 280.9 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04883/0.04883, allocations: 8.1 MB / 339.8 MB, free: 6.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.082e-05/2.084e-05, allocations: 3.578 kB / 398.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 52.53 MB / 451.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.2169, allocations: 79.69 MB / 0.5183 GB, free: 5.453 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.2172, allocations: 71.97 kB / 0.5184 GB, free: 5.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2314/0.4486, allocations: 8.824 MB / 0.527 GB, free: 78.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4487, allocations: 0 / 0.527 GB, free: 78.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.4487, allocations: 7.812 kB / 0.527 GB, free: 78.59 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002084/0.4508, allocations: 0.7304 MB / 0.5277 GB, free: 78.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4508, allocations: 14.89 kB / 0.5278 GB, free: 78.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.605e-05/0.4509, allocations: 34.83 kB / 0.5278 GB, free: 78.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.4513, allocations: 291.4 kB / 0.5281 GB, free: 77.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.4514, allocations: 6.688 kB / 0.5281 GB, free: 77.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.4514, allocations: 14.25 kB / 0.5281 GB, free: 77.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004002/0.4519, allocations: 239.8 kB / 0.5283 GB, free: 77.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.4523, allocations: 291.4 kB / 0.5286 GB, free: 77.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4524, allocations: 4.953 kB / 0.5286 GB, free: 77.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.4524, allocations: 2.531 kB / 0.5286 GB, free: 77.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4524, allocations: 3.25 kB / 0.5286 GB, free: 77.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.4541, allocations: 1.129 MB / 0.5297 GB, free: 77.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.4548, allocations: 331.6 kB / 0.53 GB, free: 77.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.4551, allocations: 169.7 kB / 0.5302 GB, free: 77.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.4551, allocations: 7.531 kB / 0.5302 GB, free: 77.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004623/0.4556, allocations: 351.9 kB / 0.5305 GB, free: 77.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.455e-06/0.4556, allocations: 0 / 0.5305 GB, free: 77.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001498/0.4571, allocations: 0.5512 MB / 0.5311 GB, free: 76.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/0.4572, allocations: 215.3 kB / 0.5313 GB, free: 76.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.4575, allocations: 228.5 kB / 0.5315 GB, free: 76.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.4575, allocations: 34.62 kB / 0.5315 GB, free: 76.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.4576, allocations: 146 kB / 0.5317 GB, free: 76.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.4577, allocations: 100.6 kB / 0.5318 GB, free: 76.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/0.4577, allocations: 0.9062 kB / 0.5318 GB, free: 76.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.157e-05/0.4578, allocations: 341.9 kB / 0.5321 GB, free: 76.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.458, allocations: 108.6 kB / 0.5322 GB, free: 76.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.4582, allocations: 184.7 kB / 0.5324 GB, free: 76.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.4586, allocations: 129.2 kB / 0.5325 GB, free: 76.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.4586, allocations: 6.141 kB / 0.5325 GB, free: 76.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001571/0.4602, allocations: 0.5561 MB / 0.533 GB, free: 75.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.4602, allocations: 37.05 kB / 0.5331 GB, free: 75.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4602, allocations: 1.875 kB / 0.5331 GB, free: 75.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.4618, allocations: 352.7 kB / 0.5334 GB, free: 75.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.462, allocations: 57.89 kB / 0.5335 GB, free: 75.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.4637, allocations: 2.087 MB / 0.5355 GB, free: 74.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/0.4642, allocations: 61.2 kB / 0.5356 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.4642, allocations: 18.06 kB / 0.5356 GB, free: 74.07 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 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 slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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.0002857/0.4645, allocations: 171.5 kB / 0.5357 GB, free: 73.92 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001556/0.4661, allocations: 0.6821 MB / 0.5364 GB, free: 73.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.4661, allocations: 35.31 kB / 0.5364 GB, free: 73.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.4677, allocations: 0.7149 MB / 0.5371 GB, free: 73.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4677, allocations: 6.516 kB / 0.5372 GB, free: 73.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4678, allocations: 8.125 kB / 0.5372 GB, free: 73.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4678, allocations: 0 / 0.5372 GB, free: 73.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.4682, allocations: 417.8 kB / 0.5376 GB, free: 73.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4682, allocations: 1.125 kB / 0.5376 GB, free: 73.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.4684, allocations: 39.69 kB / 0.5376 GB, free: 73.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.4698, allocations: 382.2 kB / 0.538 GB, free: 73.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.4699, allocations: 6.656 kB / 0.538 GB, free: 73.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.4719, allocations: 2.163 MB / 0.5401 GB, free: 71.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4719, allocations: 0.5312 kB / 0.5401 GB, free: 71.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.4736, allocations: 0.9126 MB / 0.541 GB, free: 71.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.4738, allocations: 154.5 kB / 0.5411 GB, free: 71.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.4738, allocations: 13.53 kB / 0.5411 GB, free: 71.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.4742, allocations: 59.67 kB / 0.5412 GB, free: 71.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4743, allocations: 47.09 kB / 0.5412 GB, free: 71.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.4744, allocations: 11.41 kB / 0.5412 GB, free: 71.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.4746, allocations: 182.2 kB / 0.5414 GB, free: 71.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4746, allocations: 0 / 0.5414 GB, free: 71.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004377/0.475, allocations: 86.41 kB / 0.5415 GB, free: 71.36 MB / 362.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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.001894/0.4769, allocations: 1.482 MB / 0.543 GB, free: 70.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009999/0.4779, allocations: 0.5565 MB / 0.5435 GB, free: 69.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4779, allocations: 448 / 0.5435 GB, free: 69.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.4787, allocations: 0.5301 MB / 0.544 GB, free: 69.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.4789, allocations: 33.52 kB / 0.544 GB, free: 69.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.4799, allocations: 486.5 kB / 0.5445 GB, free: 69.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.4803, allocations: 0.7724 MB / 0.5453 GB, free: 68.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.4804, allocations: 32.64 kB / 0.5453 GB, free: 68.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.4806, allocations: 91.19 kB / 0.5454 GB, free: 68.53 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4806, allocations: 0 / 0.5454 GB, free: 68.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.5072, allocations: 7.633 MB / 0.5528 GB, free: 62.65 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001321/0.5073, allocations: 150 kB / 0.553 GB, free: 62.46 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.654, allocations: 0 / 0.553 GB, free: 62.46 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2_fmu --startTime=0 --stopTime=3000 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1)