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.001184/0.001184, allocations: 103 kB / 16.44 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.001217/0.001217, allocations: 186.6 kB / 17.38 MB, free: 5.699 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04827/0.04827, allocations: 8.097 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.91 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.1005, allocations: 51.51 MB / 465.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003983/0.1045, allocations: 3.213 MB / 468.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.1063, allocations: 1.117 MB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1064, allocations: 4 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.1068, allocations: 163 kB / 470 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005467/0.1074, allocations: 266.3 kB / 470.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.1094, allocations: 1.264 MB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005831/0.11, allocations: 0.5253 MB / 472 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.1103, allocations: 130.9 kB / 472.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.1105, allocations: 207.2 kB / 472.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.1108, allocations: 251 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.1108, allocations: 44 kB / 472.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004741/0.1113, allocations: 311.8 kB / 473 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.1114, allocations: 91.59 kB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.1116, allocations: 226.8 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006504/0.1122, allocations: 0.6903 MB / 474 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1123, allocations: 4 kB / 474 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1123, allocations: 0 / 474 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1123, allocations: 3.938 kB / 474 MB, free: 10.14 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.004283/0.1166, allocations: 1.308 MB / 475.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1166, allocations: 11.89 kB / 475.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.974e-05/0.1167, allocations: 70.72 kB / 475.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.1168, allocations: 52.38 kB / 475.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.1173, allocations: 351.3 kB / 475.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/0.1174, allocations: 62.75 kB / 475.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.1174, allocations: 36.31 kB / 475.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.1183, allocations: 480.6 kB / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1183, allocations: 0 / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.1184, allocations: 16 kB / 476.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1184, allocations: 8 kB / 476.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.1192, allocations: 462 kB / 476.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.1219, allocations: 1.968 MB / 478.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.123, allocations: 0.5508 MB / 479.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.1235, allocations: 337.4 kB / 479.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.1237, allocations: 97.41 kB / 479.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008672/0.1246, allocations: 0.5359 MB / 480.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.834e-06/0.1246, allocations: 0 / 480.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.005991/0.1306, allocations: 1.888 MB / 482.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/0.1308, allocations: 203.9 kB / 482.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.1312, allocations: 320.5 kB / 482.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/0.1313, allocations: 37.7 kB / 482.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.1314, allocations: 176.8 kB / 482.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.1316, allocations: 161.7 kB / 483 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.1318, allocations: 106.1 kB / 483.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.132, allocations: 358.7 kB / 483.5 MB, free: 144 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.1324, allocations: 293.2 kB / 483.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.1329, allocations: 338.1 kB / 484.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007854/0.1408, allocations: 2.153 MB / 486.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1408, allocations: 0 / 486.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003683/0.1445, allocations: 1.301 MB / 487.6 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.1446, allocations: 41.69 kB / 487.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.1446, allocations: 3.938 kB / 487.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003692/0.1483, allocations: 0.8589 MB / 488.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.1487, allocations: 75.89 kB / 488.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.1504, allocations: 1.266 MB / 489.8 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/0.151, allocations: 91.53 kB / 489.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.1511, allocations: 19.98 kB / 489.9 MB, free: 9.605 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.0003765/0.1514, allocations: 225.1 kB / 490.1 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/0.1515, allocations: 47.53 kB / 490.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.1536, allocations: 1.224 MB / 491.4 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.1536, allocations: 4 kB / 491.4 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1536, allocations: 4 kB / 491.4 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.1536, allocations: 3.984 kB / 491.4 MB, free: 8.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006452/0.1543, allocations: 0.6228 MB / 492 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1543, allocations: 0 / 492 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.1545, allocations: 47.97 kB / 492.1 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003627/0.1581, allocations: 0.9156 MB / 493 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.1582, allocations: 15.94 kB / 493 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.1602, allocations: 1.409 MB / 494.4 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1602, allocations: 0 / 494.4 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.1621, allocations: 1.19 MB / 495.6 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.1623, allocations: 192.6 kB / 495.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.503e-05/0.1624, allocations: 28 kB / 495.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.1629, allocations: 71.8 kB / 495.9 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.1631, allocations: 48.38 kB / 496 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.1632, allocations: 23.98 kB / 496 MB, free: 3.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002657/0.1634, allocations: 227.1 kB / 496.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1634, allocations: 0 / 496.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004702/0.1639, allocations: 147.8 kB / 496.3 MB, free: 3.02 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.002239/0.1662, allocations: 1.77 MB / 498.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001869/0.1681, allocations: 0.9208 MB / 499 MB, free: 280 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1681, allocations: 3.938 kB / 499 MB, free: 276 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.1694, allocations: 0.6764 MB / 499.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1697, allocations: 45.08 kB / 499.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00985/0.1796, allocations: 5.603 MB / 0.4935 GB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1799, allocations: 0.8046 MB / 0.4943 GB, free: 8.996 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.1801, allocations: 43.25 kB / 0.4943 GB, free: 8.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.1803, allocations: 135.4 kB / 0.4945 GB, free: 8.824 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1803, allocations: 0 / 0.4945 GB, free: 8.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2422/0.4224, allocations: 15.02 MB / 0.5091 GB, free: 47.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.33, allocations: 2.484 kB / 0.5091 GB, free: 47.75 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)