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.001762/0.001762, allocations: 103.4 kB / 16.45 MB, free: 6.453 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.001962/0.001962, allocations: 188.9 kB / 17.38 MB, free: 5.691 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.455/1.455, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0596/0.0596, allocations: 8.103 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.91 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1237, allocations: 51.52 MB / 465.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003348/0.1271, allocations: 1.829 MB / 467.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.1299, allocations: 1.688 MB / 469 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1301, allocations: 11.94 kB / 469 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.1306, allocations: 147.2 kB / 469.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.1311, allocations: 139.1 kB / 469.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.1336, allocations: 0.9451 MB / 470.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007863/0.1344, allocations: 366.7 kB / 470.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.1346, allocations: 72.91 kB / 470.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.1349, allocations: 139.5 kB / 470.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.1352, allocations: 163.3 kB / 471 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.87e-05/0.1353, allocations: 28 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000843/0.1361, allocations: 239.8 kB / 471.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.009e-05/0.1362, allocations: 55.72 kB / 471.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.1365, allocations: 159.3 kB / 471.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009427/0.1374, allocations: 494.3 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1375, allocations: 7.938 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1375, allocations: 0 / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.1375, allocations: 4 kB / 471.9 MB, free: 12.18 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.005536/0.1431, allocations: 1.061 MB / 473 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.1431, allocations: 11.89 kB / 473 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.431e-05/0.1432, allocations: 54.73 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.1434, allocations: 32.75 kB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005182/0.1439, allocations: 294.9 kB / 473.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.144, allocations: 16.38 kB / 473.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.1441, allocations: 24.5 kB / 473.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009952/0.1451, allocations: 342.8 kB / 473.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1452, allocations: 3.984 kB / 473.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.1452, allocations: 8 kB / 473.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.1453, allocations: 4 kB / 473.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008741/0.1461, allocations: 267.8 kB / 474 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.1484, allocations: 0.94 MB / 475 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.1498, allocations: 442.2 kB / 475.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006102/0.1504, allocations: 200.8 kB / 475.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/0.152, allocations: 0.8191 MB / 476.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009753/0.153, allocations: 386.7 kB / 476.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 3.427e-06/0.153, allocations: 0 / 476.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.004398/0.1574, allocations: 1.025 MB / 477.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/0.1576, allocations: 221.6 kB / 478.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.1581, allocations: 254.6 kB / 478.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.1582, allocations: 37.7 kB / 478.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1584, allocations: 148.8 kB / 478.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.1585, allocations: 107.2 kB / 478.6 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.1587, allocations: 89.62 kB / 478.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.1589, allocations: 334.8 kB / 479 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.1593, allocations: 132.4 kB / 479.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.1598, allocations: 246.5 kB / 479.4 MB, free: 4.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005147/0.165, allocations: 1.025 MB / 480.4 MB, free: 3.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.1651, allocations: 0 / 480.4 MB, free: 3.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002093/0.1672, allocations: 0.6019 MB / 481 MB, free: 2.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.033e-05/0.1673, allocations: 33.7 kB / 481 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.1673, allocations: 4 kB / 481 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/0.17, allocations: 359.2 kB / 481.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.1705, allocations: 59.91 kB / 481.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/0.1745, allocations: 2.275 MB / 483.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008631/0.1754, allocations: 75.69 kB / 483.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-05/0.1755, allocations: 15.98 kB / 483.8 MB, free: 15.54 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.0005984/0.1761, allocations: 220.6 kB / 484 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.1763, allocations: 43.73 kB / 484.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003265/0.1796, allocations: 0.8198 MB / 484.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.1796, allocations: 4 kB / 484.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.1796, allocations: 8 kB / 484.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1796, allocations: 0 / 484.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007775/0.1804, allocations: 433.2 kB / 485.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.1805, allocations: 3.984 kB / 485.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.1807, allocations: 35.91 kB / 485.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/0.1832, allocations: 407.6 kB / 485.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.1833, allocations: 11.98 kB / 485.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004253/0.1876, allocations: 2.366 MB / 488.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.1876, allocations: 3.984 kB / 488.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003849/0.1915, allocations: 1.059 MB / 489.2 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/0.1919, allocations: 152.8 kB / 489.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.192, allocations: 19.94 kB / 489.4 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006632/0.1927, allocations: 55.88 kB / 489.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.1929, allocations: 40.02 kB / 489.5 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-05/0.193, allocations: 12 kB / 489.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00035/0.1934, allocations: 194 kB / 489.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1934, allocations: 0 / 489.7 MB, free: 9.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008075/0.1942, allocations: 88 kB / 489.8 MB, free: 9.293 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.004663/0.1989, allocations: 1.619 MB / 491.4 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002434/0.2014, allocations: 0.6389 MB / 492 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.2014, allocations: 0 / 492 MB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.2031, allocations: 0.5719 MB / 492.6 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.2036, allocations: 28.56 kB / 492.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008946/0.2125, allocations: 3.607 MB / 496.2 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/0.2132, allocations: 0.7644 MB / 497 MB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000197/0.2134, allocations: 30.22 kB / 497 MB, free: 1.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.2136, allocations: 95.39 kB / 497.1 MB, free: 1.652 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2136, allocations: 0 / 497.1 MB, free: 1.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06835/0.282, allocations: 9.494 MB / 0.4947 GB, free: 8.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.61, allocations: 22.38 kB / 0.4947 GB, free: 8.32 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)