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.001437/0.001437, allocations: 101 kB / 20.52 MB, free: 1.449 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.001508/0.001508, allocations: 211.5 kB / 23.84 MB, free: 4.664 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.445/1.445, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.0433/0.0433, allocations: 6.138 MB / 320.2 MB, free: 12.94 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="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.00151/0.00151, allocations: 51.92 kB / 445.3 MB, free: 5.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.1012, allocations: 55.02 MB / 0.4886 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.004562/0.1057, allocations: 3.2 MB / 0.4917 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.108, allocations: 1.16 MB / 0.4929 GB, free: 9.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.1082, allocations: 8 kB / 0.4929 GB, free: 9.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005057/0.1087, allocations: 159 kB / 0.493 GB, free: 9.688 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000668/0.1094, allocations: 254.5 kB / 0.4933 GB, free: 9.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.1117, allocations: 1.282 MB / 0.4945 GB, free: 8.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008296/0.1126, allocations: 0.4981 MB / 0.495 GB, free: 7.652 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.1128, allocations: 88.52 kB / 0.4951 GB, free: 7.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.1131, allocations: 207.3 kB / 0.4953 GB, free: 7.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.1136, allocations: 247 kB / 0.4955 GB, free: 7.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.972e-05/0.1137, allocations: 44 kB / 0.4956 GB, free: 7.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006847/0.1144, allocations: 323.7 kB / 0.4959 GB, free: 6.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1145, allocations: 87.62 kB / 0.4959 GB, free: 6.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.1148, allocations: 230.8 kB / 0.4962 GB, free: 6.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1158, allocations: 0.6968 MB / 0.4968 GB, free: 5.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1158, allocations: 0 / 0.4968 GB, free: 5.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1158, allocations: 0 / 0.4968 GB, free: 5.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1158, allocations: 0 / 0.4968 GB, free: 5.742 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.004787/0.1206, allocations: 1.259 MB / 0.4981 GB, free: 4.445 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1206, allocations: 12.03 kB / 0.4981 GB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.905e-05/0.1206, allocations: 4.844 kB / 0.4981 GB, free: 4.426 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.879e-05/0.1207, allocations: 70.72 kB / 0.4982 GB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.1208, allocations: 48.66 kB / 0.4982 GB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004664/0.1213, allocations: 294.3 kB / 0.4985 GB, free: 3.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.1214, allocations: 54.92 kB / 0.4985 GB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.1215, allocations: 40.06 kB / 0.4986 GB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/0.1224, allocations: 489.9 kB / 0.499 GB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1225, allocations: 0 / 0.499 GB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.1225, allocations: 16 kB / 0.4991 GB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1225, allocations: 4 kB / 0.4991 GB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009696/0.1235, allocations: 482.3 kB / 0.4995 GB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.1264, allocations: 1.531 MB / 0.501 GB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.1276, allocations: 492.7 kB / 0.5015 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005809/0.1282, allocations: 273.5 kB / 0.5017 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.1283, allocations: 16.3 kB / 0.5018 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/0.1294, allocations: 0.5436 MB / 0.5023 GB, free: 15.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.194e-06/0.1294, allocations: 0 / 0.5023 GB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.006388/0.1357, allocations: 1.74 MB / 0.504 GB, free: 14.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.1359, allocations: 195.9 kB / 0.5042 GB, free: 13.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.1364, allocations: 324.4 kB / 0.5045 GB, free: 13.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-05/0.1364, allocations: 41.7 kB / 0.5045 GB, free: 13.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1366, allocations: 173 kB / 0.5047 GB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.1368, allocations: 166.6 kB / 0.5049 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.137, allocations: 102.2 kB / 0.505 GB, free: 13.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1372, allocations: 354.8 kB / 0.5053 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.1377, allocations: 289 kB / 0.5056 GB, free: 12.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.1383, allocations: 349.7 kB / 0.5059 GB, free: 12.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008542/0.1469, allocations: 2.171 MB / 0.508 GB, free: 9.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1469, allocations: 0 / 0.508 GB, free: 9.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003698/0.1506, allocations: 1.257 MB / 0.5092 GB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.1506, allocations: 49.62 kB / 0.5093 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1506, allocations: 0 / 0.5093 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00383/0.1545, allocations: 0.8586 MB / 0.5101 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.1548, allocations: 71.89 kB / 0.5102 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.1567, allocations: 1.269 MB / 0.5114 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006394/0.1574, allocations: 95.67 kB / 0.5115 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.1575, allocations: 19.98 kB / 0.5116 GB, free: 6.266 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.0004065/0.1579, allocations: 225.3 kB / 0.5118 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.158, allocations: 55.66 kB / 0.5118 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.1602, allocations: 1.043 MB / 0.5128 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1602, allocations: 4 kB / 0.5128 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1602, allocations: 0 / 0.5128 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1602, allocations: 3.984 kB / 0.5128 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007435/0.161, allocations: 0.6025 MB / 0.5134 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.161, allocations: 0 / 0.5134 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.1612, allocations: 51.91 kB / 0.5135 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004016/0.1652, allocations: 0.9122 MB / 0.5144 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-05/0.1653, allocations: 16 kB / 0.5144 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.1678, allocations: 1.397 MB / 0.5158 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.1678, allocations: 7.922 kB / 0.5158 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.1699, allocations: 1.017 MB / 0.5168 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.1702, allocations: 119.5 kB / 0.5169 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.1703, allocations: 24 kB / 0.5169 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.1709, allocations: 67.92 kB / 0.517 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.171, allocations: 48.36 kB / 0.517 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/0.1711, allocations: 19.98 kB / 0.517 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003333/0.1714, allocations: 227.1 kB / 0.5172 GB, free: 312 kB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1714, allocations: 0 / 0.5172 GB, free: 312 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006672/0.1721, allocations: 140 kB / 0.5174 GB, free: 172 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.2077/0.3798, allocations: 1.597 MB / 0.5189 GB, free: 30.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.3816, allocations: 0.8232 MB / 0.5197 GB, free: 30.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3817, allocations: 0.5625 kB / 0.5197 GB, free: 30.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.3828, allocations: 485.7 kB / 0.5202 GB, free: 30.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.3832, allocations: 52.42 kB / 0.5202 GB, free: 30.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.3945, allocations: 5.489 MB / 0.5256 GB, free: 29.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3948, allocations: 0.8003 MB / 0.5264 GB, free: 28.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.395, allocations: 52.36 kB / 0.5264 GB, free: 28.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.3952, allocations: 133.4 kB / 0.5266 GB, free: 28.23 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3952, allocations: 0 / 0.5266 GB, free: 28.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04493/0.4401, allocations: 15.11 MB / 0.5413 GB, free: 23.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/13.86, allocations: 16.06 kB / 0.5413 GB, free: 23.23 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 os._exit(0), Time elapsed: 16.515464805997908] Failed to read output from testmodel.py, exit status != 0: 14.036866214941256 14.048252747 13.930208689 Calling exit ...