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.0007846/0.0007846, allocations: 97.02 kB / 15.74 MB, free: 424 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.0007977/0.0007977, allocations: 172.8 kB / 16.62 MB, free: 6.434 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.278/1.278, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1553/0.1553, allocations: 8.087 MB / 299.8 MB, free: 2.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002695, allocations: 12 kB / 363 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0827/0.08299, allocations: 52.52 MB / 415.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.00318/0.0862, allocations: 2.721 MB / 418.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.08797, allocations: 1.021 MB / 419.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.08819, allocations: 12 kB / 419.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.08856, allocations: 111.4 kB / 419.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006348/0.08921, allocations: 218.8 kB / 419.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.09096, allocations: 1.005 MB / 420.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.09152, allocations: 458 kB / 421 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.09171, allocations: 90.64 kB / 421.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.09194, allocations: 175.3 kB / 421.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.09226, allocations: 223.1 kB / 421.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.09233, allocations: 23.94 kB / 421.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000471/0.0928, allocations: 275.8 kB / 421.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.09288, allocations: 75.61 kB / 421.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.09301, allocations: 97.52 kB / 421.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.09353, allocations: 494.7 kB / 422.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.09355, allocations: 3.938 kB / 422.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09355, allocations: 0 / 422.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.09357, allocations: 0 / 422.4 MB, free: 1.621 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.003906/0.09748, allocations: 1.261 MB / 423.7 MB, free: 312 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.09752, allocations: 8.031 kB / 423.7 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.782e-05/0.09763, allocations: 62.55 kB / 423.8 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.09774, allocations: 55.38 kB / 423.8 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1596/0.2573, allocations: 333.2 kB / 424.1 MB, free: 40.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.788e-05/0.2574, allocations: 51.45 kB / 424.2 MB, free: 40.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.064e-05/0.2575, allocations: 36.59 kB / 424.2 MB, free: 40.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/0.2584, allocations: 488.5 kB / 424.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2584, allocations: 0.9844 kB / 424.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.2585, allocations: 17.53 kB / 424.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.2585, allocations: 7.328 kB / 424.7 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007325/0.2592, allocations: 476.3 kB / 425.2 MB, free: 40.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.2616, allocations: 2 MB / 427.2 MB, free: 39.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009195/0.2626, allocations: 0.5562 MB / 427.7 MB, free: 39.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/0.263, allocations: 348.5 kB / 428.1 MB, free: 39.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.2632, allocations: 90.75 kB / 428.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006963/0.2639, allocations: 0.5524 MB / 428.7 MB, free: 39.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.525e-06/0.2639, allocations: 0 / 428.7 MB, free: 39.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.00491/0.2688, allocations: 1.89 MB / 430.6 MB, free: 39.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.2689, allocations: 196.9 kB / 430.8 MB, free: 38.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.2692, allocations: 313.7 kB / 431.1 MB, free: 38.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.2692, allocations: 39.27 kB / 431.2 MB, free: 38.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.2693, allocations: 179.9 kB / 431.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.2694, allocations: 158.6 kB / 431.5 MB, free: 38.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.2695, allocations: 15 kB / 431.5 MB, free: 38.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.2695, allocations: 352.2 kB / 431.8 MB, free: 38.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.27, allocations: 289.7 kB / 432.1 MB, free: 38.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.2705, allocations: 351.9 kB / 432.5 MB, free: 38.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/0.2709, allocations: 338.7 kB / 432.8 MB, free: 37.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2709, allocations: 0 / 432.8 MB, free: 37.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002783/0.2737, allocations: 1.323 MB / 434.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.2738, allocations: 43.75 kB / 434.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.2738, allocations: 0.6875 kB / 434.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/0.2769, allocations: 0.8591 MB / 435 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.2772, allocations: 79.14 kB / 435.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.2785, allocations: 1.278 MB / 436.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.279, allocations: 103.3 kB / 436.5 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.279, allocations: 22.31 kB / 436.5 MB, free: 36.23 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.0002507/0.2793, allocations: 221 kB / 436.7 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.2793, allocations: 42.53 kB / 436.8 MB, free: 36.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.2811, allocations: 1.243 MB / 438 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2811, allocations: 7.797 kB / 438 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2811, allocations: 6.688 kB / 438 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.2811, allocations: 0.5625 kB / 438 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.2816, allocations: 0.6292 MB / 438.6 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2816, allocations: 0 / 438.6 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2818, allocations: 54.38 kB / 438.7 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00303/0.2848, allocations: 0.9199 MB / 439.6 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.2849, allocations: 18 kB / 439.6 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.2865, allocations: 1.396 MB / 441 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2865, allocations: 0 / 441 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.288, allocations: 1.207 MB / 442.2 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.2882, allocations: 199.7 kB / 442.4 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.851e-05/0.2883, allocations: 22.81 kB / 442.5 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.2887, allocations: 78.05 kB / 442.5 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2888, allocations: 52.61 kB / 442.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.2889, allocations: 21.16 kB / 442.6 MB, free: 33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.2891, allocations: 222 kB / 442.8 MB, free: 32.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2891, allocations: 4 kB / 442.8 MB, free: 32.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.2895, allocations: 150.5 kB / 443 MB, free: 32.84 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.001781/0.2913, allocations: 1.778 MB / 444.8 MB, free: 31.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.2929, allocations: 0.9384 MB / 445.7 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2929, allocations: 0 / 445.7 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.294, allocations: 0.679 MB / 446.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.2943, allocations: 42.48 kB / 446.4 MB, free: 30.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005053/0.2994, allocations: 3.376 MB / 449.8 MB, free: 29.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.2996, allocations: 0.8038 MB / 450.6 MB, free: 28.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.2997, allocations: 42.64 kB / 450.6 MB, free: 28.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.2999, allocations: 135.6 kB / 450.8 MB, free: 28.36 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2999, allocations: 7.094 kB / 450.8 MB, free: 28.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.3251, allocations: 12.84 MB / 463.6 MB, free: 27.43 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001246/0.3253, allocations: 226.6 kB / 463.8 MB, free: 27.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.088, allocations: 0 / 463.8 MB, free: 27.19 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: