Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",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.001786/0.001786, allocations: 107.3 kB / 16.45 MB, free: 6.035 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.001905/0.001905, allocations: 190.6 kB / 17.39 MB, free: 5.559 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.44/1.44, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.06192/0.06192, allocations: 8.092 MB / 299.3 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.002711, allocations: 68.11 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1134, allocations: 51.52 MB / 465.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004614/0.1181, allocations: 3.209 MB / 468.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1204, allocations: 1.106 MB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.1206, allocations: 4 kB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.1212, allocations: 175 kB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006626/0.1219, allocations: 254.4 kB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.1243, allocations: 1.284 MB / 471.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007651/0.1251, allocations: 0.5175 MB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.1254, allocations: 128 kB / 472.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002526/0.1256, allocations: 215.2 kB / 472.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/0.126, allocations: 247 kB / 472.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.498e-05/0.1261, allocations: 44 kB / 472.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007674/0.1269, allocations: 319.7 kB / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.127, allocations: 75.69 kB / 473.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.1273, allocations: 234.8 kB / 473.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.1283, allocations: 0.689 MB / 474 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1283, allocations: 0 / 474 MB, free: 10.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1283, allocations: 0 / 474 MB, free: 10.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1284, allocations: 4 kB / 474 MB, free: 10.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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.004619/0.133, allocations: 1.326 MB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.133, allocations: 15.89 kB / 475.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.393e-05/0.1331, allocations: 66.72 kB / 475.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.1333, allocations: 56.66 kB / 475.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.1338, allocations: 355.5 kB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.933e-05/0.1338, allocations: 50.83 kB / 475.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.1339, allocations: 36.38 kB / 475.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009809/0.1349, allocations: 480.6 kB / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1349, allocations: 0 / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.135, allocations: 16 kB / 476.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.135, allocations: 7.938 kB / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009539/0.136, allocations: 469.9 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.139, allocations: 1.973 MB / 478.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.1403, allocations: 0.5572 MB / 479.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006142/0.1409, allocations: 337.5 kB / 479.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.1411, allocations: 89.42 kB / 479.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.1421, allocations: 0.5399 MB / 480.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.425e-06/0.1421, allocations: 0 / 480.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.006474/0.1486, allocations: 1.896 MB / 482.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.1488, allocations: 199.9 kB / 482.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.1492, allocations: 320.5 kB / 482.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/0.1493, allocations: 45.69 kB / 482.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.1494, allocations: 173.1 kB / 482.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.1496, allocations: 170.6 kB / 483.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.1498, allocations: 98.23 kB / 483.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.15, allocations: 358.7 kB / 483.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.1505, allocations: 281.2 kB / 483.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/0.1511, allocations: 354 kB / 484.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008446/0.1596, allocations: 2.153 MB / 486.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1596, allocations: 0 / 486.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003611/0.1632, allocations: 1.294 MB / 487.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.1633, allocations: 37.69 kB / 487.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1633, allocations: 3.938 kB / 487.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/0.1671, allocations: 0.8743 MB / 488.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.1675, allocations: 75.89 kB / 488.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.1694, allocations: 1.263 MB / 489.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.17, allocations: 87.67 kB / 489.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.1701, allocations: 27.98 kB / 490 MB, free: 9.602 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: 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: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000364/0.1705, allocations: 219.3 kB / 490.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.1706, allocations: 51.75 kB / 490.2 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.1729, allocations: 1.216 MB / 491.5 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.173, allocations: 4 kB / 491.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.173, allocations: 0 / 491.5 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.173, allocations: 7.922 kB / 491.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/0.1737, allocations: 0.6307 MB / 492.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1737, allocations: 0 / 492.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.1739, allocations: 51.91 kB / 492.1 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003878/0.1778, allocations: 0.9078 MB / 493.1 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.1779, allocations: 23.92 kB / 493.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.1803, allocations: 1.405 MB / 494.5 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1803, allocations: 0 / 494.5 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.1825, allocations: 1.194 MB / 495.7 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.1828, allocations: 196.8 kB / 495.9 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.1829, allocations: 31.95 kB / 495.9 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.1835, allocations: 63.92 kB / 496 MB, free: 3.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.1836, allocations: 44.38 kB / 496 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/0.1837, allocations: 23.98 kB / 496 MB, free: 3.375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002801/0.184, allocations: 223.1 kB / 496.2 MB, free: 3.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.184, allocations: 4 kB / 496.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004626/0.1845, allocations: 143.9 kB / 496.4 MB, free: 3.016 MB / 366.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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002565/0.187, allocations: 1.778 MB / 498.2 MB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.1891, allocations: 0.9285 MB / 499.1 MB, free: 260 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1892, allocations: 0 / 499.1 MB, free: 260 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.1906, allocations: 0.6725 MB / 499.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.191, allocations: 49.02 kB / 499.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.2028, allocations: 5.61 MB / 0.4936 GB, free: 9.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.2032, allocations: 0.8007 MB / 0.4944 GB, free: 8.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000186/0.2034, allocations: 55.19 kB / 0.4944 GB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.2037, allocations: 131.4 kB / 0.4945 GB, free: 8.793 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.2037, allocations: 0 / 0.4945 GB, free: 8.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2674/0.471, allocations: 14.45 MB / 0.5087 GB, free: 47.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.61, allocations: 2.453 kB / 0.5087 GB, free: 47.45 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1)