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.005549/0.005549, allocations: 89.17 kB / 15.91 MB, free: 6.281 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.001316/0.001315, allocations: 199.6 kB / 16.83 MB, free: 6.211 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.322/1.322, allocations: 222.9 MB / 240.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1587/0.1587, allocations: 8.08 MB / 298.7 MB, free: 2.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 361.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1031, allocations: 51.52 MB / 412.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.005021/0.1082, allocations: 3.237 MB / 415.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1105, allocations: 1.129 MB / 417 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.1108, allocations: 7.938 kB / 417 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005902/0.1115, allocations: 139.4 kB / 417.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008265/0.1123, allocations: 238.8 kB / 417.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.1147, allocations: 1.245 MB / 418.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000815/0.1156, allocations: 481.9 kB / 419.1 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.1159, allocations: 111.8 kB / 419.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003765/0.1162, allocations: 187.3 kB / 419.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005725/0.1168, allocations: 242.9 kB / 419.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.117, allocations: 24 kB / 419.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008515/0.1178, allocations: 291.8 kB / 420 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.118, allocations: 75.61 kB / 420 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000419/0.1184, allocations: 218.8 kB / 420.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.1197, allocations: 0.6622 MB / 420.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1197, allocations: 0 / 420.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1197, allocations: 4 kB / 420.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.1197, allocations: 0 / 420.9 MB, free: 1.809 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.005534/0.1253, allocations: 1.315 MB / 422.2 MB, free: 444 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.1253, allocations: 8.031 kB / 422.2 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.1255, allocations: 70.72 kB / 422.3 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.1257, allocations: 48.47 kB / 422.4 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.1263, allocations: 347.3 kB / 422.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.1264, allocations: 58.7 kB / 422.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.222e-05/0.1265, allocations: 36.38 kB / 422.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.1275, allocations: 484.6 kB / 423.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1275, allocations: 0 / 423.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.1276, allocations: 12 kB / 423.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.1276, allocations: 8 kB / 423.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009382/0.1286, allocations: 462 kB / 423.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.1318, allocations: 1.984 MB / 425.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.133, allocations: 0.5508 MB / 426.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006033/0.1336, allocations: 325.5 kB / 426.6 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.1338, allocations: 101.3 kB / 426.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009571/0.1348, allocations: 0.5434 MB / 427.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 1.824e-06/0.1348, allocations: 0 / 427.2 MB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.006082/0.1409, allocations: 1.881 MB / 429.1 MB, free: 9.219 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.141, allocations: 195.9 kB / 429.3 MB, free: 8.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.1414, allocations: 316.5 kB / 429.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.1415, allocations: 37.7 kB / 429.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1416, allocations: 172.9 kB / 429.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.1418, allocations: 157.7 kB / 430 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.142, allocations: 118.2 kB / 430.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1421, allocations: 350.7 kB / 430.4 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000512/0.1426, allocations: 293 kB / 430.7 MB, free: 7.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.1432, allocations: 342 kB / 431 MB, free: 7.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007981/0.1512, allocations: 2.158 MB / 433.2 MB, free: 5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1512, allocations: 0 / 433.2 MB, free: 5 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003435/0.1546, allocations: 1.297 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.1547, allocations: 47.56 kB / 434.5 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1547, allocations: 3.938 kB / 434.5 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003822/0.1585, allocations: 0.8511 MB / 435.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.1588, allocations: 75.91 kB / 435.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.1606, allocations: 1.278 MB / 436.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005632/0.1612, allocations: 91.53 kB / 436.8 MB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.1612, allocations: 16 kB / 436.9 MB, free: 1.281 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.0003243/0.1616, allocations: 232.7 kB / 437.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1617, allocations: 43.53 kB / 437.1 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1455/0.3071, allocations: 1.219 MB / 438.3 MB, free: 57.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3072, allocations: 4.172 kB / 438.3 MB, free: 57.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3072, allocations: 0.9375 kB / 438.3 MB, free: 57.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.3072, allocations: 4.453 kB / 438.4 MB, free: 57.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.3077, allocations: 0.6242 MB / 439 MB, free: 57.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3077, allocations: 0 / 439 MB, free: 57.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.3079, allocations: 47.23 kB / 439 MB, free: 57.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003426/0.3113, allocations: 0.9084 MB / 439.9 MB, free: 57.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.3114, allocations: 18.34 kB / 439.9 MB, free: 57.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.3131, allocations: 1.402 MB / 441.4 MB, free: 56.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3131, allocations: 0 / 441.4 MB, free: 56.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.3147, allocations: 1.192 MB / 442.5 MB, free: 56.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.3149, allocations: 199.4 kB / 442.7 MB, free: 56.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/0.315, allocations: 20.91 kB / 442.8 MB, free: 56.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/0.3154, allocations: 61.83 kB / 442.8 MB, free: 56.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.3156, allocations: 46.39 kB / 442.9 MB, free: 56.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-05/0.3156, allocations: 29.2 kB / 442.9 MB, free: 56.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.3158, allocations: 229.7 kB / 443.1 MB, free: 56.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.3158, allocations: 0 / 443.1 MB, free: 56.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.3162, allocations: 145.2 kB / 443.3 MB, free: 56.37 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.001781/0.318, allocations: 1.776 MB / 445 MB, free: 55.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.3196, allocations: 0.9169 MB / 446 MB, free: 54.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3196, allocations: 0 / 446 MB, free: 54.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.3207, allocations: 0.6784 MB / 446.6 MB, free: 54.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.3211, allocations: 47.11 kB / 446.7 MB, free: 54.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008698/0.3298, allocations: 5.758 MB / 452.4 MB, free: 51.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.33, allocations: 0.8092 MB / 453.2 MB, free: 50.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.3301, allocations: 41.05 kB / 453.3 MB, free: 50.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3303, allocations: 132.8 kB / 453.4 MB, free: 50.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3303, allocations: 0 / 453.4 MB, free: 50.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3036/0.6339, allocations: 13.14 MB / 466.6 MB, free: 49.69 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001431/0.6341, allocations: 235.8 kB / 466.8 MB, free: 49.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.731, allocations: 0 / 466.8 MB, free: 49.44 MB / 366.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)