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-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.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.005143/0.005143, allocations: 90.22 kB / 15.91 MB, free: 6.305 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.001254/0.001254, allocations: 196 kB / 16.83 MB, free: 6.238 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.291/1.291, allocations: 222.9 MB / 240.5 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1436/0.1436, allocations: 8.091 MB / 298.8 MB, free: 2.023 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.89 kB / 361.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08334/0.08454, allocations: 51.51 MB / 412.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003446/0.08803, allocations: 2.696 MB / 415.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.08997, allocations: 1.402 MB / 416.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.507e-05/0.09008, allocations: 0 / 416.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.09054, allocations: 239.3 kB / 417 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.09091, allocations: 239.1 kB / 417.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.09249, allocations: 0.9809 MB / 418.2 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004005/0.09291, allocations: 418.5 kB / 418.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.09305, allocations: 60.98 kB / 418.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.09322, allocations: 183.4 kB / 418.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.09351, allocations: 295.1 kB / 419.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.09356, allocations: 16 kB / 419.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.09403, allocations: 299.7 kB / 419.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.09417, allocations: 147.4 kB / 419.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.09438, allocations: 218.5 kB / 419.8 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006717/0.09506, allocations: 0.7048 MB / 420.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.09507, allocations: 0 / 420.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.09508, allocations: 0 / 420.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.09509, allocations: 4 kB / 420.5 MB, free: 2.211 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.003802/0.0989, allocations: 1.354 MB / 421.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.09895, allocations: 12.03 kB / 421.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.509e-05/0.09902, allocations: 50.73 kB / 421.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.09913, allocations: 64.19 kB / 422 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005193/0.09966, allocations: 479.7 kB / 422.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.09969, allocations: 16.38 kB / 422.5 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.09975, allocations: 28.12 kB / 422.5 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.1005, allocations: 406.2 kB / 422.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1005, allocations: 3.984 kB / 422.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.1005, allocations: 8 kB / 422.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1005, allocations: 4 kB / 422.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000548/0.1011, allocations: 332.3 kB / 423.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.1026, allocations: 1.116 MB / 424.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.1036, allocations: 0.504 MB / 424.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.104, allocations: 280.9 kB / 425.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009655/0.105, allocations: 0.8665 MB / 426 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006408/0.1057, allocations: 488.5 kB / 426.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.583e-06/0.1057, allocations: 3.938 kB / 426.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003434/0.1091, allocations: 1.396 MB / 427.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.1092, allocations: 259.5 kB / 428.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.1099, allocations: 0.6786 MB / 428.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.1099, allocations: 33.7 kB / 428.9 MB, free: 9.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.1101, allocations: 264.6 kB / 429.1 MB, free: 9.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.391e-05/0.1102, allocations: 110.5 kB / 429.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1104, allocations: 94.05 kB / 429.3 MB, free: 8.938 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1105, allocations: 378.8 kB / 429.7 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.1108, allocations: 196.9 kB / 429.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.1111, allocations: 303.2 kB / 430.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003432/0.1146, allocations: 1.398 MB / 431.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1146, allocations: 0 / 431.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001709/0.1163, allocations: 0.9279 MB / 432.5 MB, free: 5.594 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.851e-05/0.1164, allocations: 79.31 kB / 432.6 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1164, allocations: 4 kB / 432.6 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.1178, allocations: 355.1 kB / 432.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.1181, allocations: 63.84 kB / 433 MB, free: 5.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.1199, allocations: 2.15 MB / 435.1 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.1204, allocations: 87.77 kB / 435.2 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.1204, allocations: 16 kB / 435.2 MB, free: 2.66 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: 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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($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,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (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.0003285/0.1208, allocations: 319.1 kB / 435.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.1209, allocations: 75.23 kB / 435.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.1231, allocations: 1.169 MB / 436.8 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1231, allocations: 4 kB / 436.8 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1231, allocations: 7.938 kB / 436.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1231, allocations: 0 / 436.8 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.1236, allocations: 0.544 MB / 437.3 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1236, allocations: 0 / 437.3 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.1237, allocations: 31.92 kB / 437.4 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.1252, allocations: 407 kB / 437.8 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.1253, allocations: 15.98 kB / 437.8 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1586/0.2838, allocations: 2.266 MB / 440.1 MB, free: 56.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2839, allocations: 0 / 440.1 MB, free: 56.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.2859, allocations: 1.17 MB / 441.2 MB, free: 56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.2861, allocations: 200 kB / 441.4 MB, free: 55.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.013e-05/0.2862, allocations: 29.7 kB / 441.5 MB, free: 55.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.2866, allocations: 58.38 kB / 441.5 MB, free: 55.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-05/0.2867, allocations: 37.8 kB / 441.5 MB, free: 55.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.2867, allocations: 16.5 kB / 441.6 MB, free: 55.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004629/0.2872, allocations: 499.6 kB / 442.1 MB, free: 55.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2872, allocations: 0 / 442.1 MB, free: 55.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004584/0.2877, allocations: 142.7 kB / 442.2 MB, free: 55.81 MB / 366.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 (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.002276/0.2899, allocations: 1.78 MB / 444 MB, free: 55.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.2912, allocations: 0.8823 MB / 444.9 MB, free: 54.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2912, allocations: 0 / 444.9 MB, free: 54.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008117/0.292, allocations: 0.7041 MB / 445.6 MB, free: 54.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.2923, allocations: 58.16 kB / 445.6 MB, free: 54.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007465/0.2998, allocations: 7.297 MB / 452.9 MB, free: 50.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.3001, allocations: 0.8758 MB / 453.8 MB, free: 50.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.3002, allocations: 52.53 kB / 453.8 MB, free: 50.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.3004, allocations: 184.9 kB / 454 MB, free: 50.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3004, allocations: 0 / 454 MB, free: 50.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05104/0.3514, allocations: 13.23 MB / 467.2 MB, free: 49.02 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/0.3516, allocations: 248.5 kB / 467.5 MB, free: 48.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/2.532, allocations: 3.5 kB / 467.5 MB, free: 48.77 MB / 366.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/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)