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.001054/0.001054, allocations: 103.3 kB / 16.45 MB, free: 6.438 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.001135/0.001136, allocations: 189.5 kB / 17.39 MB, free: 5.668 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05092/0.05092, allocations: 8.101 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 67.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 51.52 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003027/0.1079, allocations: 1.829 MB / 467.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1106, allocations: 1.692 MB / 469 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.1108, allocations: 8 kB / 469 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.1114, allocations: 147.2 kB / 469.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005913/0.112, allocations: 139.1 kB / 469.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.1139, allocations: 0.9491 MB / 470.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.1145, allocations: 358.7 kB / 470.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.1147, allocations: 79.48 kB / 470.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.1149, allocations: 139.5 kB / 470.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.1151, allocations: 163.3 kB / 471 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.1152, allocations: 28 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004808/0.1157, allocations: 243.8 kB / 471.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.1157, allocations: 55.7 kB / 471.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1159, allocations: 151.2 kB / 471.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.1165, allocations: 499.5 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1165, allocations: 4 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1165, allocations: 4 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1165, allocations: 0 / 471.9 MB, free: 12.19 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003542/0.12, allocations: 1.054 MB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.1201, allocations: 15.89 kB / 473 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.179e-05/0.1202, allocations: 50.73 kB / 473.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.682e-05/0.1203, allocations: 36.56 kB / 473.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.1207, allocations: 286.8 kB / 473.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1207, allocations: 20.38 kB / 473.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/0.1208, allocations: 20.56 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.1215, allocations: 346.7 kB / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1215, allocations: 0 / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.1215, allocations: 8 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1215, allocations: 4 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.1221, allocations: 263.8 kB / 474 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1235, allocations: 0.9321 MB / 475 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008264/0.1243, allocations: 447.1 kB / 475.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.1247, allocations: 196.8 kB / 475.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009533/0.1256, allocations: 0.8153 MB / 476.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006488/0.1263, allocations: 382.6 kB / 476.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.473e-06/0.1263, allocations: 0 / 476.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002699/0.129, allocations: 1.033 MB / 477.8 MB, free: 5.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1291, allocations: 221.6 kB / 478 MB, free: 5.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.1294, allocations: 258.5 kB / 478.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.1294, allocations: 37.7 kB / 478.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.1295, allocations: 144.7 kB / 478.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/0.1296, allocations: 102.5 kB / 478.6 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.1297, allocations: 81.67 kB / 478.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1299, allocations: 338.8 kB / 479 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1301, allocations: 132.4 kB / 479.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.1304, allocations: 246.5 kB / 479.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002987/0.1334, allocations: 1.029 MB / 480.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1334, allocations: 0 / 480.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001051/0.1345, allocations: 0.5978 MB / 481 MB, free: 2.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.488e-05/0.1345, allocations: 41.69 kB / 481 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1345, allocations: 3.984 kB / 481 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.136, allocations: 359.2 kB / 481.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.1363, allocations: 63.91 kB / 481.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.1384, allocations: 2.264 MB / 483.7 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.1388, allocations: 71.58 kB / 483.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.1389, allocations: 20 kB / 483.8 MB, free: 15.58 MB / 366.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.0003617/0.1393, allocations: 216.7 kB / 484 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.127e-05/0.1394, allocations: 35.56 kB / 484 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.1411, allocations: 0.8236 MB / 484.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.1412, allocations: 4 kB / 484.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1412, allocations: 7.984 kB / 484.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1412, allocations: 4 kB / 484.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.1416, allocations: 437.2 kB / 485.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1416, allocations: 0 / 485.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.1418, allocations: 39.91 kB / 485.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.1433, allocations: 407.5 kB / 485.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.1433, allocations: 11.98 kB / 485.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.1457, allocations: 2.376 MB / 488.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1458, allocations: 0 / 488.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/0.1479, allocations: 1.051 MB / 489.2 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.1481, allocations: 152.6 kB / 489.3 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.1482, allocations: 16 kB / 489.3 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.1486, allocations: 51.94 kB / 489.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.1487, allocations: 43.95 kB / 489.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.1487, allocations: 12 kB / 489.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.149, allocations: 190 kB / 489.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.149, allocations: 0 / 489.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004951/0.1495, allocations: 96 kB / 489.7 MB, free: 9.336 MB / 366.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.002577/0.1521, allocations: 1.619 MB / 491.3 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.1534, allocations: 0.6467 MB / 492 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1534, allocations: 0 / 492 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008663/0.1543, allocations: 0.5602 MB / 492.5 MB, free: 6.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.1546, allocations: 32.56 kB / 492.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/0.1595, allocations: 3.597 MB / 496.2 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1598, allocations: 0.7605 MB / 496.9 MB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.16, allocations: 30.27 kB / 497 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.1601, allocations: 99.34 kB / 497.1 MB, free: 1.703 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1601, allocations: 0 / 497.1 MB, free: 1.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.1922, allocations: 9.819 MB / 0.495 GB, free: 8.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.24, allocations: 34.25 kB / 0.495 GB, free: 8.035 MB / 382.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)