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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 115.5 kB / 19.74 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 221.2 kB / 23.05 MB, free: 4.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0435/0.0435, allocations: 6.125 MB / 319.4 MB, free: 12.95 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 47.92 kB / 444.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1293, allocations: 55.02 MB / 499.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004803/0.1341, allocations: 3.192 MB / 0.4909 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.1365, allocations: 1.16 MB / 0.4921 GB, free: 9.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.1367, allocations: 4 kB / 0.4921 GB, free: 9.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.1371, allocations: 163 kB / 0.4922 GB, free: 9.715 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006501/0.1378, allocations: 258.4 kB / 0.4925 GB, free: 9.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.1402, allocations: 1.28 MB / 0.4937 GB, free: 8.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008059/0.141, allocations: 0.5019 MB / 0.4942 GB, free: 7.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.1412, allocations: 76.66 kB / 0.4943 GB, free: 7.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.1415, allocations: 211.2 kB / 0.4945 GB, free: 7.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.1419, allocations: 251 kB / 0.4947 GB, free: 7.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.629e-05/0.142, allocations: 40 kB / 0.4948 GB, free: 7.098 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006479/0.1427, allocations: 331.7 kB / 0.4951 GB, free: 6.773 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.1427, allocations: 87.61 kB / 0.4952 GB, free: 6.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.143, allocations: 230.8 kB / 0.4954 GB, free: 6.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000953/0.1439, allocations: 0.6929 MB / 0.4961 GB, free: 5.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1439, allocations: 0 / 0.4961 GB, free: 5.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1439, allocations: 4 kB / 0.4961 GB, free: 5.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.144, allocations: 0 / 0.4961 GB, free: 5.762 MB / 366.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.004719/0.1487, allocations: 1.259 MB / 0.4973 GB, free: 4.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.1487, allocations: 8.031 kB / 0.4973 GB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.1488, allocations: 66.72 kB / 0.4974 GB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.149, allocations: 48.66 kB / 0.4974 GB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.1495, allocations: 298.3 kB / 0.4977 GB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.686e-05/0.1496, allocations: 54.92 kB / 0.4978 GB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/0.1496, allocations: 32.38 kB / 0.4978 GB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/0.1506, allocations: 493.8 kB / 0.4983 GB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1506, allocations: 0 / 0.4983 GB, free: 3.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.1507, allocations: 12 kB / 0.4983 GB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1507, allocations: 8 kB / 0.4983 GB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009803/0.1517, allocations: 474.3 kB / 0.4987 GB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.1546, allocations: 1.535 MB / 0.5002 GB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.1559, allocations: 0.489 MB / 0.5007 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/0.1565, allocations: 273.5 kB / 0.501 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.1566, allocations: 12.33 kB / 0.501 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.1577, allocations: 0.5435 MB / 0.5015 GB, free: 15.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 5.02e-06/0.1577, allocations: 4 kB / 0.5015 GB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.00626/0.1639, allocations: 1.736 MB / 0.5032 GB, free: 14.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.1641, allocations: 199.9 kB / 0.5034 GB, free: 13.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/0.1645, allocations: 316.5 kB / 0.5037 GB, free: 13.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.277e-05/0.1646, allocations: 37.7 kB / 0.5037 GB, free: 13.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1648, allocations: 177 kB / 0.5039 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.1649, allocations: 166.6 kB / 0.5041 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.1652, allocations: 110.2 kB / 0.5042 GB, free: 13.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1653, allocations: 350.7 kB / 0.5045 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.1659, allocations: 293 kB / 0.5048 GB, free: 12.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006098/0.1665, allocations: 345.7 kB / 0.5051 GB, free: 12.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008526/0.175, allocations: 2.163 MB / 0.5072 GB, free: 9.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.175, allocations: 0 / 0.5072 GB, free: 9.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003807/0.1788, allocations: 1.264 MB / 0.5085 GB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.1789, allocations: 37.69 kB / 0.5085 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.1789, allocations: 7.938 kB / 0.5085 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003999/0.1829, allocations: 0.8703 MB / 0.5094 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.1832, allocations: 71.91 kB / 0.5094 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.1853, allocations: 1.269 MB / 0.5107 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.186, allocations: 87.67 kB / 0.5108 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/0.186, allocations: 24 kB / 0.5108 GB, free: 6.293 MB / 382.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.0004398/0.1865, allocations: 233.3 kB / 0.511 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.1866, allocations: 43.72 kB / 0.511 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002228/0.1888, allocations: 1.047 MB / 0.5121 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.1888, allocations: 8 kB / 0.5121 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1888, allocations: 4 kB / 0.5121 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1888, allocations: 0 / 0.5121 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/0.1896, allocations: 0.6025 MB / 0.5127 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1896, allocations: 3.938 kB / 0.5127 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.1898, allocations: 47.92 kB / 0.5127 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003921/0.1937, allocations: 0.9044 MB / 0.5136 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.866e-05/0.1938, allocations: 19.98 kB / 0.5136 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/0.1962, allocations: 1.405 MB / 0.515 GB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1962, allocations: 3.938 kB / 0.515 GB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.1984, allocations: 1.013 MB / 0.516 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.1987, allocations: 119.6 kB / 0.5161 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.1988, allocations: 27.94 kB / 0.5161 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.1994, allocations: 59.94 kB / 0.5162 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.1996, allocations: 52.34 kB / 0.5162 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.1996, allocations: 20 kB / 0.5162 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003269/0.1999, allocations: 231 kB / 0.5165 GB, free: 336 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1999, allocations: 0 / 0.5165 GB, free: 336 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005494/0.2005, allocations: 136 kB / 0.5166 GB, free: 200 kB / 382.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.2451/0.4456, allocations: 1.599 MB / 0.5182 GB, free: 30.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.4476, allocations: 0.8246 MB / 0.519 GB, free: 30.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4476, allocations: 0 / 0.519 GB, free: 30.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.4487, allocations: 486.5 kB / 0.5194 GB, free: 30.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.4491, allocations: 44.61 kB / 0.5195 GB, free: 30.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.4595, allocations: 5.492 MB / 0.5248 GB, free: 28.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.4598, allocations: 0.804 MB / 0.5256 GB, free: 28.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.46, allocations: 44.23 kB / 0.5257 GB, free: 28.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.4602, allocations: 137.9 kB / 0.5258 GB, free: 28.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4602, allocations: 0 / 0.5258 GB, free: 28.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04712/0.5073, allocations: 15.08 MB / 0.5405 GB, free: 23.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/13.85, allocations: 15.12 kB / 0.5405 GB, free: 23.19 MB / 382.1 MB " [Timeout remaining time 646] (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 --stepSize=0.4 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.600620284909382] Failed to read output from testmodel.py, exit status != 0: 13.974764791084453 13.985891549 13.839610818 Calling exit ...