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.001647/0.001647, allocations: 100.1 kB / 16.31 MB, free: 5.879 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.002047/0.002047, allocations: 187.9 kB / 17.24 MB, free: 5.539 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04687/0.04687, allocations: 8.089 MB / 299.2 MB, free: 6.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.89 kB / 361.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1972, allocations: 51.52 MB / 413.4 MB, free: 25.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002401/0.1997, allocations: 1.822 MB / 415.2 MB, free: 23.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.2013, allocations: 1.695 MB / 416.9 MB, free: 22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.2014, allocations: 4 kB / 416.9 MB, free: 22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.2018, allocations: 139.2 kB / 417 MB, free: 21.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.2021, allocations: 143.1 kB / 417.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.2033, allocations: 0.9376 MB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.2037, allocations: 366.7 kB / 418.5 MB, free: 20.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2038, allocations: 62.97 kB / 418.5 MB, free: 20.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.2039, allocations: 139.5 kB / 418.7 MB, free: 20.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.2041, allocations: 163.3 kB / 418.8 MB, free: 20.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.2041, allocations: 28 kB / 418.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.2045, allocations: 239.8 kB / 419.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.2045, allocations: 55.7 kB / 419.1 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.2046, allocations: 155.2 kB / 419.3 MB, free: 19.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.205, allocations: 0.4908 MB / 419.8 MB, free: 19.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.205, allocations: 4 kB / 419.8 MB, free: 19.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.205, allocations: 0 / 419.8 MB, free: 19.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2051, allocations: 0 / 419.8 MB, free: 19.1 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.003299/0.2084, allocations: 1.062 MB / 420.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2084, allocations: 11.89 kB / 420.8 MB, free: 17.97 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.2085, allocations: 50.73 kB / 420.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.2086, allocations: 32.56 kB / 420.9 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.2088, allocations: 290.8 kB / 421.2 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.2089, allocations: 20.36 kB / 421.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.079e-05/0.209, allocations: 24.5 kB / 421.3 MB, free: 17.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.2095, allocations: 334.9 kB / 421.6 MB, free: 17.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2095, allocations: 8 kB / 421.6 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/0.2096, allocations: 4 kB / 421.6 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.2096, allocations: 4 kB / 421.6 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.21, allocations: 267.8 kB / 421.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.2111, allocations: 0.936 MB / 422.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/0.2118, allocations: 435.4 kB / 423.2 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.2121, allocations: 200.8 kB / 423.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007081/0.2129, allocations: 0.827 MB / 424.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.2134, allocations: 382.4 kB / 424.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.2134, allocations: 0 / 424.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.002466/0.2158, allocations: 1.029 MB / 425.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.2159, allocations: 221.6 kB / 425.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.2161, allocations: 262.5 kB / 426.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.2162, allocations: 33.7 kB / 426.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.2163, allocations: 144.8 kB / 426.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.004e-05/0.2163, allocations: 106.5 kB / 426.4 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.2164, allocations: 81.67 kB / 426.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.527e-05/0.2165, allocations: 342.8 kB / 426.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.2167, allocations: 136.4 kB / 426.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.2169, allocations: 242.6 kB / 427.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.2197, allocations: 1.009 MB / 428.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2197, allocations: 4 kB / 428.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009559/0.2207, allocations: 0.5937 MB / 428.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.2207, allocations: 42.03 kB / 428.8 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2208, allocations: 4 kB / 428.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.2221, allocations: 355.1 kB / 429.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.2223, allocations: 63.91 kB / 429.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.2238, allocations: 2.273 MB / 431.5 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.2242, allocations: 83.67 kB / 431.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.2242, allocations: 23.92 kB / 431.6 MB, free: 6.477 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.000242/0.2245, allocations: 212.2 kB / 431.8 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.2246, allocations: 31.66 kB / 431.9 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.2261, allocations: 0.8314 MB / 432.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2261, allocations: 4 kB / 432.7 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2261, allocations: 3.938 kB / 432.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2261, allocations: 0 / 432.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.2264, allocations: 433.2 kB / 433.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2264, allocations: 0 / 433.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.2266, allocations: 35.92 kB / 433.2 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/0.228, allocations: 415 kB / 433.6 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.228, allocations: 11.94 kB / 433.6 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.2298, allocations: 2.372 MB / 435.9 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2298, allocations: 0 / 435.9 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.2315, allocations: 1.058 MB / 437 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.2316, allocations: 148.7 kB / 437.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.2317, allocations: 16 kB / 437.2 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.2321, allocations: 51.94 kB / 437.2 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.2322, allocations: 39.95 kB / 437.3 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.2322, allocations: 16.05 kB / 437.3 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.2324, allocations: 190 kB / 437.5 MB, free: 332 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2324, allocations: 0 / 437.5 MB, free: 332 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.2328, allocations: 95.98 kB / 437.6 MB, free: 236 kB / 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.002429/0.2352, allocations: 1.629 MB / 439.2 MB, free: 14.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.2366, allocations: 0.662 MB / 439.8 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.2367, allocations: 128 / 439.8 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000877/0.2375, allocations: 0.5535 MB / 440.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.2378, allocations: 32.56 kB / 440.4 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.2426, allocations: 3.606 MB / 444 MB, free: 9.492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.2429, allocations: 0.7647 MB / 444.8 MB, free: 8.703 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.243, allocations: 30.2 kB / 444.8 MB, free: 8.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.2431, allocations: 91.41 kB / 444.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2431, allocations: 0 / 444.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.2727, allocations: 9.371 MB / 454.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.11, allocations: 8 kB / 454.3 MB, free: 15.36 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)