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.0007608/0.0007645, allocations: 97.25 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.0008957/0.0008957, allocations: 171.1 kB / 16.62 MB, free: 6.43 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.238/1.238, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1685/0.1685, allocations: 8.085 MB / 299.8 MB, free: 2.984 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002909, allocations: 8 kB / 363 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08935/0.08966, allocations: 52.5 MB / 415.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.002437/0.09216, allocations: 2.246 MB / 417.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.09378, allocations: 1.236 MB / 418.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.09388, allocations: 4 kB / 418.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.09425, allocations: 215.3 kB / 419.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.09458, allocations: 231.1 kB / 419.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.09591, allocations: 0.8176 MB / 420.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.09627, allocations: 382.5 kB / 420.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.0964, allocations: 52.91 kB / 420.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.09656, allocations: 175.4 kB / 420.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.09682, allocations: 251.2 kB / 421 MB, free: 3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.09687, allocations: 16 kB / 421.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.09727, allocations: 283.7 kB / 421.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.09739, allocations: 139.5 kB / 421.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.788e-05/0.09749, allocations: 105.4 kB / 421.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.09795, allocations: 0.5108 MB / 422.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.09796, allocations: 0 / 422.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.09797, allocations: 0 / 422.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.09798, allocations: 4 kB / 422.1 MB, free: 1.945 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.00321/0.1012, allocations: 1.28 MB / 423.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1012, allocations: 8.031 kB / 423.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.395e-05/0.1013, allocations: 54.55 kB / 423.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.954e-05/0.1014, allocations: 67.2 kB / 423.5 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1593/0.2607, allocations: 442.8 kB / 423.9 MB, free: 41.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/0.2608, allocations: 15.81 kB / 423.9 MB, free: 41.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.261, allocations: 25.66 kB / 424 MB, free: 41.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000822/0.2618, allocations: 412.3 kB / 424.4 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2619, allocations: 2.438 kB / 424.4 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.2619, allocations: 6.438 kB / 424.4 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.2619, allocations: 3.656 kB / 424.4 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.2624, allocations: 340.8 kB / 424.7 MB, free: 41.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.2642, allocations: 1.127 MB / 425.8 MB, free: 40.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/0.265, allocations: 0.5044 MB / 426.3 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.2653, allocations: 273.7 kB / 426.6 MB, free: 40.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008878/0.2662, allocations: 0.8676 MB / 427.5 MB, free: 40.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005728/0.2668, allocations: 484 kB / 428 MB, free: 39.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.174e-06/0.2668, allocations: 0.9375 kB / 428 MB, free: 39.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002838/0.2697, allocations: 1.409 MB / 429.4 MB, free: 39.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.2697, allocations: 250.4 kB / 429.6 MB, free: 39.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006677/0.2704, allocations: 0.6791 MB / 430.3 MB, free: 39.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.2705, allocations: 35.55 kB / 430.3 MB, free: 39.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.2706, allocations: 258.1 kB / 430.6 MB, free: 39.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.055e-05/0.2707, allocations: 121.4 kB / 430.7 MB, free: 38.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.2707, allocations: 8.969 kB / 430.7 MB, free: 38.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.2708, allocations: 383.4 kB / 431.1 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.2711, allocations: 199.4 kB / 431.3 MB, free: 38.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.2715, allocations: 310.8 kB / 431.6 MB, free: 38.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.2717, allocations: 280.8 kB / 431.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2718, allocations: 0 / 431.9 MB, free: 38.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001417/0.2732, allocations: 0.9296 MB / 432.8 MB, free: 38.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.2732, allocations: 70.94 kB / 432.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2732, allocations: 3.156 kB / 432.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.2745, allocations: 360.6 kB / 433.2 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.2747, allocations: 64.56 kB / 433.3 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.2761, allocations: 2.15 MB / 435.4 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.2765, allocations: 96.08 kB / 435.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.2766, allocations: 16.53 kB / 435.5 MB, free: 36.36 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.0003075/0.2769, allocations: 327.8 kB / 435.8 MB, free: 36.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.277, allocations: 63.59 kB / 435.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.2788, allocations: 1.172 MB / 437.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2788, allocations: 0 / 437.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2788, allocations: 3.156 kB / 437.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.2788, allocations: 0.5156 kB / 437.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.2792, allocations: 0.5656 MB / 437.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2792, allocations: 4.156 kB / 437.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.2793, allocations: 34.38 kB / 437.7 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/0.2806, allocations: 399.6 kB / 438.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.2806, allocations: 21.27 kB / 438.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.2822, allocations: 2.276 MB / 440.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2822, allocations: 3.516 kB / 440.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.2839, allocations: 1.173 MB / 441.6 MB, free: 32.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.2841, allocations: 201.7 kB / 441.8 MB, free: 32.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.2842, allocations: 19.88 kB / 441.8 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.2845, allocations: 67.59 kB / 441.8 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.265e-05/0.2846, allocations: 46.61 kB / 441.9 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.2847, allocations: 16.58 kB / 441.9 MB, free: 32.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000433/0.2851, allocations: 492.3 kB / 442.4 MB, free: 32.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2851, allocations: 0 / 442.4 MB, free: 32.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004323/0.2856, allocations: 144.5 kB / 442.5 MB, free: 32.18 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.002048/0.2876, allocations: 1.792 MB / 444.3 MB, free: 31.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.2887, allocations: 0.8742 MB / 445.2 MB, free: 30.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2887, allocations: 0.625 kB / 445.2 MB, free: 30.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007751/0.2895, allocations: 0.7098 MB / 445.9 MB, free: 30.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.2898, allocations: 58 kB / 446 MB, free: 30.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/0.2949, allocations: 4.365 MB / 450.3 MB, free: 28.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.2951, allocations: 0.8809 MB / 451.2 MB, free: 27.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.2953, allocations: 56.86 kB / 451.3 MB, free: 27.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.2955, allocations: 184.3 kB / 451.4 MB, free: 27.33 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2955, allocations: 0 / 451.4 MB, free: 27.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.32, allocations: 12.95 MB / 464.4 MB, free: 26.34 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.3202, allocations: 234 kB / 464.6 MB, free: 26.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.127, allocations: 0 / 464.6 MB, free: 26.1 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: