Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",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.000898/0.0008982, allocations: 95.89 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.000915/0.0009151, allocations: 177.2 kB / 16.61 MB, free: 6.426 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.249/1.249, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1452/0.1452, allocations: 8.084 MB / 299.7 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 11.98 kB / 362.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.08921, allocations: 52.51 MB / 415.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.002299/0.09154, allocations: 2.154 MB / 417.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.09327, allocations: 1.244 MB / 418.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.101e-05/0.09337, allocations: 4 kB / 418.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.09377, allocations: 211.2 kB / 419 MB, free: 5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.09413, allocations: 247.4 kB / 419.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.09557, allocations: 0.8021 MB / 420 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.09593, allocations: 283.4 kB / 420.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.09607, allocations: 52.91 kB / 420.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.09624, allocations: 171.5 kB / 420.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.09653, allocations: 251.2 kB / 420.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.09658, allocations: 16 kB / 420.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.09698, allocations: 259.7 kB / 421 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.09711, allocations: 135.5 kB / 421.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.09722, allocations: 105.4 kB / 421.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.09772, allocations: 0.5031 MB / 421.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.644e-06/0.09773, allocations: 0 / 421.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.09774, allocations: 0 / 421.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.09775, allocations: 0 / 421.8 MB, free: 2.195 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003653/0.1014, allocations: 1.282 MB / 423.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1015, allocations: 12.03 kB / 423.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.1015, allocations: 50.55 kB / 423.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.1016, allocations: 67.2 kB / 423.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.1022, allocations: 447 kB / 423.6 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.1022, allocations: 23.94 kB / 423.6 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.1023, allocations: 24 kB / 423.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1576/0.2599, allocations: 404.7 kB / 424.1 MB, free: 41.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.2599, allocations: 0.5625 kB / 424.1 MB, free: 41.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.26, allocations: 8.219 kB / 424.1 MB, free: 41.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.26, allocations: 5.578 kB / 424.1 MB, free: 41.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005304/0.2605, allocations: 342.6 kB / 424.4 MB, free: 41.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.262, allocations: 1.123 MB / 425.5 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/0.2628, allocations: 0.5068 MB / 426 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008364/0.2637, allocations: 0.8703 MB / 426.9 MB, free: 40.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005163/0.2642, allocations: 480.6 kB / 427.4 MB, free: 40.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.2642, allocations: 0 / 427.4 MB, free: 40.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002946/0.2672, allocations: 1.498 MB / 428.9 MB, free: 39.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.2672, allocations: 244.7 kB / 429.1 MB, free: 39.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/0.2678, allocations: 0.6795 MB / 429.8 MB, free: 39.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.2679, allocations: 35.05 kB / 429.8 MB, free: 39.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.268, allocations: 265.6 kB / 430.1 MB, free: 39.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.484e-05/0.2681, allocations: 115.4 kB / 430.2 MB, free: 39.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.2681, allocations: 9.031 kB / 430.2 MB, free: 39.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.2682, allocations: 382.4 kB / 430.6 MB, free: 38.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.2684, allocations: 195.8 kB / 430.8 MB, free: 38.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.2687, allocations: 304.6 kB / 431.1 MB, free: 38.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.269, allocations: 278 kB / 431.3 MB, free: 38.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.269, allocations: 0 / 431.3 MB, free: 38.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001535/0.2705, allocations: 0.932 MB / 432.3 MB, free: 38.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.2706, allocations: 70.61 kB / 432.3 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2706, allocations: 0 / 432.3 MB, free: 38.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.272, allocations: 359.1 kB / 432.7 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.2723, allocations: 66.75 kB / 432.8 MB, free: 38.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.2739, allocations: 2.169 MB / 434.9 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.2743, allocations: 89.08 kB / 435 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.2744, allocations: 23.5 kB / 435 MB, free: 36.5 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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$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 (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.0003388/0.2747, allocations: 321.7 kB / 435.3 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.2748, allocations: 73.52 kB / 435.4 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/0.2768, allocations: 1.169 MB / 436.6 MB, free: 35.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2768, allocations: 3.312 kB / 436.6 MB, free: 35.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2768, allocations: 4.094 kB / 436.6 MB, free: 35.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2768, allocations: 3.422 kB / 436.6 MB, free: 35.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.2772, allocations: 0.5471 MB / 437.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2772, allocations: 3.312 kB / 437.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.2773, allocations: 36.44 kB / 437.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.2787, allocations: 407.3 kB / 437.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.2787, allocations: 24.81 kB / 437.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/0.2804, allocations: 2.281 MB / 439.9 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2804, allocations: 0 / 439.9 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.2822, allocations: 1.166 MB / 441.1 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.2824, allocations: 206.8 kB / 441.3 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.244e-05/0.2825, allocations: 17.53 kB / 441.3 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.2829, allocations: 69.44 kB / 441.3 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.283, allocations: 46.09 kB / 441.4 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.2831, allocations: 20.86 kB / 441.4 MB, free: 32.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004205/0.2835, allocations: 492.7 kB / 441.9 MB, free: 32.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2835, allocations: 0.9844 kB / 441.9 MB, free: 32.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004488/0.2839, allocations: 146.5 kB / 442 MB, free: 32.29 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.002143/0.2861, allocations: 1.792 MB / 443.8 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.2872, allocations: 0.8738 MB / 444.7 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2873, allocations: 3.406 kB / 444.7 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008027/0.2881, allocations: 0.7025 MB / 445.4 MB, free: 30.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.2883, allocations: 48.59 kB / 445.5 MB, free: 30.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.2901, allocations: 3.084 MB / 448.5 MB, free: 27.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.2904, allocations: 0.8837 MB / 449.4 MB, free: 27.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.2905, allocations: 55.73 kB / 449.5 MB, free: 27.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.2907, allocations: 190.2 kB / 449.7 MB, free: 26.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2907, allocations: 0 / 449.7 MB, free: 26.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.3134, allocations: 12.67 MB / 462.3 MB, free: 25.95 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.3136, allocations: 226.8 kB / 462.6 MB, free: 25.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.117, allocations: 0 / 462.6 MB, free: 25.71 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) Environment - environmentSimulation: