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.001703/0.001703, allocations: 114.9 kB / 17.88 MB, free: 5.051 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.001902/0.001902, allocations: 212.5 kB / 20.84 MB, free: 2.105 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.496/1.496, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.04444/0.04444, allocations: 6.136 MB / 316.4 MB, free: 1.203 MB / 238.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 47.09 kB / 439.9 MB, free: 40.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09369/0.09527, allocations: 54.99 MB / 494.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003157/0.09842, allocations: 3.171 MB / 498.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1002, allocations: 1.149 MB / 499.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.1003, allocations: 12 kB / 499.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.1007, allocations: 171 kB / 499.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005465/0.1013, allocations: 254.5 kB / 499.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.1031, allocations: 1.268 MB / 0.4892 GB, free: 4.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.1035, allocations: 0.5019 MB / 0.4897 GB, free: 3.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1037, allocations: 88.17 kB / 0.4898 GB, free: 3.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1038, allocations: 207.2 kB / 0.49 GB, free: 3.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.104, allocations: 247 kB / 0.4902 GB, free: 3.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.1041, allocations: 47.94 kB / 0.4903 GB, free: 3.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.1045, allocations: 319.8 kB / 0.4906 GB, free: 3.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.1046, allocations: 87.61 kB / 0.4907 GB, free: 2.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.1047, allocations: 222.9 kB / 0.4909 GB, free: 2.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.1053, allocations: 0.7006 MB / 0.4915 GB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1053, allocations: 4 kB / 0.4916 GB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1053, allocations: 4 kB / 0.4916 GB, free: 2.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1053, allocations: 0 / 0.4916 GB, free: 2.039 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.004267/0.1096, allocations: 1.326 MB / 0.4929 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1096, allocations: 12.03 kB / 0.4929 GB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.297e-05/0.1096, allocations: 12.75 kB / 0.4929 GB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.284e-05/0.1097, allocations: 66.66 kB / 0.4929 GB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1098, allocations: 52.66 kB / 0.493 GB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.1101, allocations: 347.6 kB / 0.4933 GB, free: 132 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.1102, allocations: 50.83 kB / 0.4934 GB, free: 76 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.1102, allocations: 40.12 kB / 0.4934 GB, free: 36 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009888/0.1112, allocations: 480.6 kB / 0.4939 GB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1112, allocations: 0 / 0.4939 GB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.1113, allocations: 19.98 kB / 0.4939 GB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1113, allocations: 8 kB / 0.4939 GB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.1123, allocations: 462 kB / 0.4943 GB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.1152, allocations: 1.551 MB / 0.4958 GB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.1165, allocations: 499.9 kB / 0.4963 GB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/0.117, allocations: 269.5 kB / 0.4966 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.1172, allocations: 93.41 kB / 0.4967 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.1182, allocations: 0.5435 MB / 0.4972 GB, free: 11.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 1.944e-06/0.1182, allocations: 0 / 0.4972 GB, free: 11.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.006609/0.1248, allocations: 1.799 MB / 0.499 GB, free: 10.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.125, allocations: 199.9 kB / 0.4991 GB, free: 9.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.1254, allocations: 320.4 kB / 0.4995 GB, free: 9.602 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.295e-05/0.1255, allocations: 37.7 kB / 0.4995 GB, free: 9.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1256, allocations: 177 kB / 0.4997 GB, free: 9.383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.1258, allocations: 166.6 kB / 0.4998 GB, free: 9.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.126, allocations: 106.2 kB / 0.4999 GB, free: 9.109 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1262, allocations: 346.8 kB / 0.5003 GB, free: 8.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/0.1267, allocations: 293.1 kB / 0.5005 GB, free: 8.473 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.1274, allocations: 350 kB / 0.5009 GB, free: 8.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00883/0.1362, allocations: 2.145 MB / 0.503 GB, free: 5.938 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1362, allocations: 0 / 0.503 GB, free: 5.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003786/0.14, allocations: 1.254 MB / 0.5042 GB, free: 4.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.14, allocations: 45.62 kB / 0.5042 GB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1401, allocations: 4 kB / 0.5042 GB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003973/0.144, allocations: 0.8611 MB / 0.5051 GB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.1444, allocations: 75.89 kB / 0.5051 GB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.1464, allocations: 1.269 MB / 0.5064 GB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.147, allocations: 91.61 kB / 0.5065 GB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.1471, allocations: 23.98 kB / 0.5065 GB, free: 2.262 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.0003857/0.1475, allocations: 228.6 kB / 0.5067 GB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1476, allocations: 39.77 kB / 0.5068 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.1499, allocations: 1.045 MB / 0.5078 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1499, allocations: 4 kB / 0.5078 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1499, allocations: 0 / 0.5078 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.1499, allocations: 7.922 kB / 0.5078 GB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007193/0.1506, allocations: 0.623 MB / 0.5084 GB, free: 252 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1506, allocations: 0 / 0.5084 GB, free: 252 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.1508, allocations: 47.97 kB / 0.5084 GB, free: 204 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004022/0.1548, allocations: 0.9079 MB / 0.5093 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/0.1549, allocations: 16 kB / 0.5093 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.1573, allocations: 1.416 MB / 0.5107 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1573, allocations: 0 / 0.5107 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.1594, allocations: 1.006 MB / 0.5117 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.1597, allocations: 188.7 kB / 0.5119 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.492e-05/0.1598, allocations: 24 kB / 0.5119 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.1604, allocations: 63.92 kB / 0.512 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.1605, allocations: 44.38 kB / 0.512 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.1606, allocations: 27.98 kB / 0.512 GB, free: 12.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.1609, allocations: 227 kB / 0.5123 GB, free: 12.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1609, allocations: 4 kB / 0.5123 GB, free: 12.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005033/0.1614, allocations: 147.8 kB / 0.5124 GB, free: 12.05 MB / 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.002531/0.1639, allocations: 1.594 MB / 0.514 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.166, allocations: 0.8112 MB / 0.5147 GB, free: 9.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.166, allocations: 0 / 0.5147 GB, free: 9.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.1673, allocations: 492.5 kB / 0.5152 GB, free: 9.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.1678, allocations: 54.73 kB / 0.5153 GB, free: 9.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.1794, allocations: 5.466 MB / 0.5206 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.1798, allocations: 0.8046 MB / 0.5214 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.18, allocations: 47.23 kB / 0.5214 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.1802, allocations: 131.4 kB / 0.5216 GB, free: 2.461 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1802, allocations: 0 / 0.5216 GB, free: 2.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04125/0.2214, allocations: 14.56 MB / 0.5358 GB, free: 4.113 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/12.91, allocations: 12.03 kB / 0.5358 GB, free: 4.102 MB / 398.1 MB " [Timeout remaining time 647] (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 os._exit(0), Time elapsed: 15.690418422978837] Failed to read output from testmodel.py, exit status != 0: 13.06408968399046 13.090448107 12.980349548 Calling exit ...