Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",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.0009224/0.0009224, allocations: 97.45 kB / 15.73 MB, free: 440 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.0009272/0.0009273, allocations: 179 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.243/1.243, allocations: 223.2 MB / 240.6 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.1374/0.1374, allocations: 8.084 MB / 299.7 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002833, allocations: 12 kB / 362.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08484/0.08514, allocations: 52.51 MB / 415.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.002668/0.08785, allocations: 2.594 MB / 418 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.08927, allocations: 1.021 MB / 419 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.08937, allocations: 4 kB / 419 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.08965, allocations: 123.4 kB / 419.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004503/0.09011, allocations: 235.2 kB / 419.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.09176, allocations: 1.028 MB / 420.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.09216, allocations: 331.2 kB / 420.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.09233, allocations: 98.61 kB / 420.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.0925, allocations: 167.4 kB / 420.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.09278, allocations: 223.1 kB / 421.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.09283, allocations: 20 kB / 421.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.09321, allocations: 251.6 kB / 421.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.0933, allocations: 67.73 kB / 421.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.0934, allocations: 97.45 kB / 421.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.09388, allocations: 486.8 kB / 422.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.09389, allocations: 0 / 422.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.0939, allocations: 0 / 422.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.09391, allocations: 4 kB / 422.1 MB, free: 1.906 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.004224/0.09814, allocations: 1.253 MB / 423.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.09818, allocations: 12.03 kB / 423.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.47e-05/0.09827, allocations: 62.53 kB / 423.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.753e-05/0.09838, allocations: 55.39 kB / 423.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.0988, allocations: 338.3 kB / 423.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/0.09887, allocations: 58.2 kB / 423.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.115e-05/0.09893, allocations: 28 kB / 423.9 MB, free: 0 / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008973/0.2453, allocations: 490.6 kB / 424.3 MB, free: 41.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2453, allocations: 0 / 424.3 MB, free: 41.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.2453, allocations: 12.59 kB / 424.4 MB, free: 41.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2453, allocations: 8.578 kB / 424.4 MB, free: 41.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.2461, allocations: 477.6 kB / 424.8 MB, free: 41.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.2485, allocations: 1.997 MB / 426.8 MB, free: 40.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009278/0.2494, allocations: 0.5658 MB / 427.4 MB, free: 40.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.2495, allocations: 92.66 kB / 427.5 MB, free: 40.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007104/0.2503, allocations: 0.5429 MB / 428 MB, free: 40.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.864e-06/0.2503, allocations: 0 / 428 MB, free: 40.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.005474/0.2558, allocations: 1.883 MB / 429.9 MB, free: 39.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.2558, allocations: 198.9 kB / 430.1 MB, free: 39.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.2561, allocations: 324 kB / 430.4 MB, free: 39.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.2562, allocations: 40.7 kB / 430.5 MB, free: 39.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.2563, allocations: 172.5 kB / 430.6 MB, free: 39.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.2564, allocations: 163 kB / 430.8 MB, free: 39.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.2564, allocations: 10.06 kB / 430.8 MB, free: 39.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.2565, allocations: 353.3 kB / 431.1 MB, free: 39.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.2569, allocations: 294.8 kB / 431.4 MB, free: 39.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.2574, allocations: 352 kB / 431.8 MB, free: 39.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004886/0.2579, allocations: 337 kB / 432.1 MB, free: 39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2579, allocations: 0 / 432.1 MB, free: 39 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003114/0.261, allocations: 1.323 MB / 433.4 MB, free: 38.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.261, allocations: 48.77 kB / 433.5 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.261, allocations: 0 / 433.5 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/0.2645, allocations: 0.8543 MB / 434.3 MB, free: 38.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.2648, allocations: 86.66 kB / 434.4 MB, free: 38.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.2662, allocations: 1.266 MB / 435.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.2667, allocations: 108.4 kB / 435.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.2668, allocations: 19.86 kB / 435.8 MB, free: 37.39 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition5,$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,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002472/0.2671, allocations: 224.3 kB / 436 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.2671, allocations: 43.72 kB / 436.1 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.2689, allocations: 1.238 MB / 437.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.2689, allocations: 3.25 kB / 437.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2689, allocations: 3.312 kB / 437.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2689, allocations: 6.328 kB / 437.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.2693, allocations: 0.6354 MB / 438 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2693, allocations: 4.75 kB / 438 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.2695, allocations: 48.28 kB / 438 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/0.2729, allocations: 0.9102 MB / 438.9 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.2729, allocations: 21.59 kB / 438.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.2745, allocations: 1.401 MB / 440.3 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2745, allocations: 0 / 440.3 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.2761, allocations: 1.198 MB / 441.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.2763, allocations: 205.5 kB / 441.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.809e-05/0.2764, allocations: 24.78 kB / 441.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004907/0.2769, allocations: 78.36 kB / 441.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.277, allocations: 51.67 kB / 441.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.2771, allocations: 26.75 kB / 441.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.2772, allocations: 226.2 kB / 442.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2772, allocations: 0 / 442.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003926/0.2776, allocations: 141 kB / 442.3 MB, free: 34 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00183/0.2795, allocations: 1.791 MB / 444.1 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.2811, allocations: 0.9294 MB / 445 MB, free: 32.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2811, allocations: 0 / 445 MB, free: 32.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.2823, allocations: 0.6807 MB / 445.7 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.2825, allocations: 36.98 kB / 445.7 MB, free: 32.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.2841, allocations: 1.561 MB / 447.3 MB, free: 30.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.2842, allocations: 0.814 MB / 448.1 MB, free: 30.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.2844, allocations: 52.48 kB / 448.1 MB, free: 30.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.2845, allocations: 128.1 kB / 448.3 MB, free: 30.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2845, allocations: 0 / 448.3 MB, free: 30.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.307, allocations: 12.68 MB / 460.9 MB, free: 29.17 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.3072, allocations: 214.6 kB / 461.2 MB, free: 28.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.122, allocations: 0 / 461.2 MB, free: 28.93 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) Environment - environmentSimulation: