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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004415/0.004415, allocations: 92.48 kB / 15.91 MB, free: 6.289 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.001131/0.001131, allocations: 192.1 kB / 16.83 MB, free: 6.207 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.271/1.271, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1449/0.1449, allocations: 8.081 MB / 298.7 MB, free: 2.059 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 59.91 kB / 361.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08304/0.08415, allocations: 51.52 MB / 412.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002725/0.08691, allocations: 1.865 MB / 414.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.08907, allocations: 1.727 MB / 416.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/0.08916, allocations: 4 kB / 416.3 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.08952, allocations: 111.5 kB / 416.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.08982, allocations: 127.3 kB / 416.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.09139, allocations: 0.9342 MB / 417.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.09174, allocations: 318.7 kB / 417.7 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.09191, allocations: 64.97 kB / 417.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.09205, allocations: 127.5 kB / 417.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.09223, allocations: 151.3 kB / 418.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.09228, allocations: 16 kB / 418.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.09266, allocations: 223.8 kB / 418.3 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.09272, allocations: 39.83 kB / 418.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.09287, allocations: 139.2 kB / 418.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005481/0.09343, allocations: 486.5 kB / 419 MB, free: 3.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.09344, allocations: 8 kB / 419 MB, free: 3.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.09345, allocations: 0 / 419 MB, free: 3.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.09346, allocations: 0 / 419 MB, free: 3.734 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.00362/0.09708, allocations: 1.058 MB / 420 MB, free: 2.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.09713, allocations: 8.031 kB / 420 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.453e-05/0.0972, allocations: 54.73 kB / 420.1 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.443e-05/0.09729, allocations: 36.5 kB / 420.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.09761, allocations: 290.8 kB / 420.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.09764, allocations: 12.38 kB / 420.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.421e-05/0.09774, allocations: 32.55 kB / 420.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.09837, allocations: 350.5 kB / 420.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.09838, allocations: 0 / 420.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.09842, allocations: 8 kB / 420.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.09843, allocations: 4 kB / 420.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.09895, allocations: 267.8 kB / 421.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.1003, allocations: 0.9206 MB / 422 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008445/0.1012, allocations: 447.2 kB / 422.4 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.1015, allocations: 204.8 kB / 422.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008783/0.1024, allocations: 0.819 MB / 423.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006165/0.1031, allocations: 378.8 kB / 423.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.1031, allocations: 4 kB / 423.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002842/0.1059, allocations: 1.021 MB / 424.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.106, allocations: 221.6 kB / 425 MB, free: 13.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.1063, allocations: 254.6 kB / 425.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.1063, allocations: 41.7 kB / 425.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.1064, allocations: 148.6 kB / 425.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.1065, allocations: 102.5 kB / 425.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.1067, allocations: 81.67 kB / 425.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1068, allocations: 338.8 kB / 426 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.107, allocations: 132.4 kB / 426.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.1073, allocations: 246.4 kB / 426.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.1106, allocations: 1.017 MB / 427.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1106, allocations: 0 / 427.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001078/0.1117, allocations: 0.5938 MB / 428 MB, free: 10.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/0.1117, allocations: 45.69 kB / 428 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1118, allocations: 0 / 428 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.1133, allocations: 355.3 kB / 428.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.1136, allocations: 67.91 kB / 428.4 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.1155, allocations: 2.156 MB / 430.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.1159, allocations: 71.64 kB / 430.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.116, allocations: 23.98 kB / 430.7 MB, free: 7.246 MB / 366.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.0002657/0.1163, allocations: 213 kB / 430.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.1163, allocations: 27.72 kB / 430.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.1181, allocations: 0.8275 MB / 431.7 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1181, allocations: 4 kB / 431.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1181, allocations: 7.938 kB / 431.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1181, allocations: 0 / 431.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.1185, allocations: 437.1 kB / 432.2 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1185, allocations: 3.984 kB / 432.2 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.1187, allocations: 35.98 kB / 432.2 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.1203, allocations: 413.2 kB / 432.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.1203, allocations: 15.98 kB / 432.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.1225, allocations: 2.268 MB / 434.9 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1226, allocations: 0 / 434.9 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.1246, allocations: 1.043 MB / 436 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1248, allocations: 152.6 kB / 436.1 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.1248, allocations: 27.88 kB / 436.1 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.1252, allocations: 55.56 kB / 436.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.1253, allocations: 36.02 kB / 436.2 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.1254, allocations: 12 kB / 436.2 MB, free: 1.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.1255, allocations: 190 kB / 436.4 MB, free: 1.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1255, allocations: 0 / 436.4 MB, free: 1.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.126, allocations: 100 kB / 436.5 MB, free: 1.109 MB / 366.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.1558/0.2818, allocations: 1.624 MB / 438.1 MB, free: 57.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.2833, allocations: 0.6411 MB / 438.8 MB, free: 57.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2833, allocations: 0 / 438.8 MB, free: 57.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007972/0.2841, allocations: 0.5497 MB / 439.3 MB, free: 56.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.2844, allocations: 34.5 kB / 439.4 MB, free: 56.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.2885, allocations: 3.679 MB / 443 MB, free: 55.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.2887, allocations: 0.7612 MB / 443.8 MB, free: 54.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.2888, allocations: 27.08 kB / 443.8 MB, free: 54.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.289, allocations: 92.88 kB / 443.9 MB, free: 54.58 MB / 366.1 MB Notification: Performance of SimCode: time 1.203e-06/0.289, allocations: 6.562 kB / 443.9 MB, free: 54.58 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4302/0.7191, allocations: 8.564 MB / 452.5 MB, free: 53.93 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.7193, allocations: 246.6 kB / 452.7 MB, free: 53.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/2.814, allocations: 0 / 452.7 MB, free: 53.68 MB / 366.1 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/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)