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: "" <> 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.00124/0.00124, 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.001552/0.001552, allocations: 177 kB / 16.62 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.265/1.265, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1673/0.1673, allocations: 8.087 MB / 299.7 MB, free: 2.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002715, allocations: 11.98 kB / 362.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08554/0.08582, allocations: 52.51 MB / 415.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.001657/0.08752, allocations: 1.346 MB / 416.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.08927, allocations: 1.599 MB / 418.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.08935, allocations: 4 kB / 418.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.0896, allocations: 99.52 kB / 418.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.08986, allocations: 131.6 kB / 418.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.09113, allocations: 0.7553 MB / 419.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.09141, allocations: 219.5 kB / 419.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.09153, allocations: 52.7 kB / 419.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.09165, allocations: 115.6 kB / 419.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.09182, allocations: 143.4 kB / 419.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.09186, allocations: 16 kB / 419.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.09215, allocations: 191.7 kB / 420 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.0922, allocations: 35.84 kB / 420.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.037e-05/0.09227, allocations: 81.52 kB / 420.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.09262, allocations: 339.5 kB / 420.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.09263, allocations: 0 / 420.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09264, allocations: 0 / 420.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.09265, allocations: 0 / 420.5 MB, free: 3.512 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.003353/0.096, allocations: 1.023 MB / 421.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.09604, allocations: 8.031 kB / 421.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.063e-05/0.09611, allocations: 50.55 kB / 421.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.09618, allocations: 31.67 kB / 421.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.0965, allocations: 289.6 kB / 421.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.09653, allocations: 12 kB / 421.9 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.09662, allocations: 24 kB / 421.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.0972, allocations: 342.8 kB / 422.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-06/0.09721, allocations: 0 / 422.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.09725, allocations: 8 kB / 422.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.09727, allocations: 11.89 kB / 422.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.09774, allocations: 267.8 kB / 422.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.09906, allocations: 0.9439 MB / 423.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1434/0.2424, allocations: 443.2 kB / 423.9 MB, free: 41.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009581/0.2434, allocations: 0.812 MB / 424.7 MB, free: 40.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004887/0.2439, allocations: 375.9 kB / 425.1 MB, free: 40.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.2439, allocations: 1.75 kB / 425.1 MB, free: 40.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.00251/0.2464, allocations: 1.037 MB / 426.1 MB, free: 40.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.2465, allocations: 217.8 kB / 426.3 MB, free: 40.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.2467, allocations: 259 kB / 426.6 MB, free: 40.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.2468, allocations: 42.86 kB / 426.6 MB, free: 40.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.2469, allocations: 145.9 kB / 426.8 MB, free: 39.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.2469, allocations: 99.8 kB / 426.8 MB, free: 39.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.247, allocations: 6.938 kB / 426.9 MB, free: 39.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.247, allocations: 340.7 kB / 427.2 MB, free: 39.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2472, allocations: 132.2 kB / 427.3 MB, free: 39.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.2475, allocations: 237.7 kB / 427.6 MB, free: 39.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.2477, allocations: 191.2 kB / 427.7 MB, free: 39.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2477, allocations: 7.891 kB / 427.7 MB, free: 39.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008508/0.2486, allocations: 0.5805 MB / 428.3 MB, free: 39.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.2486, allocations: 45.7 kB / 428.4 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2486, allocations: 3.188 kB / 428.4 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.25, allocations: 365.8 kB / 428.7 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.2503, allocations: 62.39 kB / 428.8 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.2516, allocations: 2.161 MB / 431 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.252, allocations: 86.66 kB / 431 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.2521, allocations: 19.14 kB / 431.1 MB, free: 37.39 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.0002038/0.2523, allocations: 210 kB / 431.3 MB, free: 37.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.2523, allocations: 38.75 kB / 431.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.2538, allocations: 0.835 MB / 432.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.2538, allocations: 3.719 kB / 432.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.2538, allocations: 0 / 432.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2539, allocations: 1.859 kB / 432.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.2542, allocations: 436.3 kB / 432.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2542, allocations: 0.8125 kB / 432.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.2544, allocations: 37.91 kB / 432.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.2558, allocations: 408.8 kB / 433 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.2558, allocations: 17.91 kB / 433 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.2574, allocations: 2.29 MB / 435.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2574, allocations: 3.938 kB / 435.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.2592, allocations: 1.045 MB / 436.4 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.2593, allocations: 157.4 kB / 436.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/0.2594, allocations: 17.12 kB / 436.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.2598, allocations: 68.92 kB / 436.6 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.2599, allocations: 38.19 kB / 436.6 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.2599, allocations: 16.92 kB / 436.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.26, allocations: 186.7 kB / 436.8 MB, free: 34.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.26, allocations: 0 / 436.8 MB, free: 34.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.2604, allocations: 101.2 kB / 436.9 MB, free: 34.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 (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.001933/0.2623, allocations: 1.629 MB / 438.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009818/0.2633, allocations: 0.6482 MB / 439.2 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2633, allocations: 0 / 439.2 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.264, allocations: 0.5534 MB / 439.8 MB, free: 32.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.2642, allocations: 28.16 kB / 439.8 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.2654, allocations: 2.679 MB / 442.5 MB, free: 30.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.2656, allocations: 0.7701 MB / 443.2 MB, free: 29.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.2657, allocations: 31 kB / 443.3 MB, free: 29.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2658, allocations: 89.66 kB / 443.4 MB, free: 29.56 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2658, allocations: 0 / 443.4 MB, free: 29.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.2829, allocations: 8.321 MB / 451.7 MB, free: 28.9 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001158/0.283, allocations: 227.7 kB / 451.9 MB, free: 28.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.024, allocations: 3.234 kB / 451.9 MB, free: 28.66 MB / 350.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/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) Environment - environmentSimulation: