Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",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.001004/0.001004, allocations: 107.1 kB / 16.03 MB, free: 6.301 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.00101/0.00101, allocations: 193.5 kB / 16.95 MB, free: 6.145 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.296/1.296, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04613/0.04613, allocations: 8.099 MB / 298.9 MB, free: 6.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.91 kB / 361.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2008, allocations: 51.53 MB / 412.8 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002281/0.2031, allocations: 1.864 MB / 414.7 MB, free: 23.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.2045, allocations: 1.683 MB / 416.4 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.2046, allocations: 4 kB / 416.4 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.2049, allocations: 115.5 kB / 416.5 MB, free: 22.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.2052, allocations: 123.3 kB / 416.6 MB, free: 21.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.2063, allocations: 0.8914 MB / 417.5 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.2066, allocations: 370.6 kB / 417.9 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.2068, allocations: 66.95 kB / 418 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.2069, allocations: 147.4 kB / 418.1 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.207, allocations: 151.4 kB / 418.2 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.207, allocations: 32 kB / 418.3 MB, free: 20.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002683/0.2073, allocations: 239.8 kB / 418.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.2074, allocations: 51.72 kB / 418.6 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.609e-05/0.2075, allocations: 163.2 kB / 418.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.2078, allocations: 490.7 kB / 419.2 MB, free: 19.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2078, allocations: 3.938 kB / 419.2 MB, free: 19.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2078, allocations: 0 / 419.2 MB, free: 19.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2079, allocations: 3.938 kB / 419.2 MB, free: 19.39 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003148/0.211, allocations: 1.062 MB / 420.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2111, allocations: 11.89 kB / 420.3 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.2111, allocations: 54.73 kB / 420.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.2112, allocations: 32.56 kB / 420.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.2114, allocations: 290.8 kB / 420.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2114, allocations: 16.38 kB / 420.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.2115, allocations: 20.56 kB / 420.7 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.212, allocations: 335.1 kB / 421 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2121, allocations: 0 / 421 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.2121, allocations: 8 kB / 421 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2121, allocations: 4 kB / 421 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.2125, allocations: 275.8 kB / 421.3 MB, free: 17.19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.2135, allocations: 0.9322 MB / 422.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006963/0.2143, allocations: 442.3 kB / 422.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.2145, allocations: 196.8 kB / 422.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/0.2152, allocations: 0.8231 MB / 423.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004558/0.2157, allocations: 376.4 kB / 424 MB, free: 14.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.2157, allocations: 0 / 424 MB, free: 14.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.0024/0.2181, allocations: 1.036 MB / 425.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.2182, allocations: 221.6 kB / 425.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.2183, allocations: 270.5 kB / 425.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.2184, allocations: 33.7 kB / 425.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.2184, allocations: 140.8 kB / 425.7 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.2185, allocations: 114.5 kB / 425.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.2186, allocations: 73.69 kB / 425.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.2187, allocations: 346.8 kB / 426.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.2189, allocations: 124.4 kB / 426.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.2191, allocations: 250.5 kB / 426.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.2219, allocations: 1.021 MB / 427.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2219, allocations: 0 / 427.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008594/0.2227, allocations: 0.594 MB / 428.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.2228, allocations: 37.69 kB / 428.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2228, allocations: 7.938 kB / 428.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.2242, allocations: 358.8 kB / 428.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.2244, allocations: 67.83 kB / 428.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.2258, allocations: 2.26 MB / 431 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.2262, allocations: 79.72 kB / 431 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.2263, allocations: 20 kB / 431 MB, free: 6.777 MB / 302.1 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" fixed = true ) type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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.0001996/0.2265, allocations: 205.1 kB / 431.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.2265, allocations: 35.66 kB / 431.3 MB, free: 6.523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.228, allocations: 0.8313 MB / 432.1 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.228, allocations: 4 kB / 432.1 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.2281, allocations: 3.938 kB / 432.1 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2281, allocations: 3.984 kB / 432.1 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.2283, allocations: 433.2 kB / 432.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2283, allocations: 0 / 432.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.2285, allocations: 27.98 kB / 432.6 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.2299, allocations: 430.8 kB / 433 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.2299, allocations: 11.98 kB / 433 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.2315, allocations: 2.36 MB / 435.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2316, allocations: 4.031 kB / 435.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.2332, allocations: 1.054 MB / 436.4 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.2334, allocations: 152.6 kB / 436.6 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.2334, allocations: 16 kB / 436.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.2338, allocations: 51.94 kB / 436.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/0.2339, allocations: 36.03 kB / 436.7 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.2339, allocations: 15.98 kB / 436.7 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.234, allocations: 190 kB / 436.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.234, allocations: 0 / 436.9 MB, free: 0.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003434/0.2344, allocations: 96 kB / 437 MB, free: 0.5312 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.002214/0.2366, allocations: 1.631 MB / 438.6 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.2378, allocations: 0.6619 MB / 439.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2379, allocations: 0 / 439.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008441/0.2387, allocations: 0.5535 MB / 439.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.239, allocations: 32.56 kB / 439.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.2433, allocations: 3.686 MB / 443.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.2436, allocations: 0.7605 MB / 444.3 MB, free: 8.926 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.2437, allocations: 30.27 kB / 444.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.2438, allocations: 99.39 kB / 444.4 MB, free: 8.801 MB / 318.1 MB Notification: Performance of SimCode: time 1.733e-06/0.2438, allocations: 0 / 444.4 MB, free: 8.801 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4542/0.6981, allocations: 8.989 MB / 453.4 MB, free: 28 kB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/0.6984, allocations: 240.1 kB / 453.6 MB, free: 15.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.647, allocations: 0 / 453.6 MB, free: 15.78 MB / 334.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2_fmu --startTime=0 --stopTime=3000 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1)