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.0008049/0.0008049, allocations: 76.55 kB / 19.97 MB, free: 4.594 MB / 18.57 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.0008846/0.0008846, allocations: 174.3 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.8713/0.8713, allocations: 177.1 MB / 203.6 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.0239/0.0239, allocations: 4.473 MB / 264.5 MB, free: 8.766 MB / 250.7 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 1.252e-06/1.252e-06, allocations: 0 / 389.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.611e-05, allocations: 5.375 kB / 389.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.002676/0.002692, allocations: 2.938 MB / 392.6 MB, free: 4.426 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.004086, allocations: 1.078 MB / 393.6 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.004202, allocations: 7.938 kB / 393.6 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.004537, allocations: 162.9 kB / 393.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.004976, allocations: 258.3 kB / 394.1 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.006129, allocations: 1.182 MB / 395.2 MB, free: 1.738 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004649/0.006594, allocations: 0.5172 MB / 395.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.006745, allocations: 81.41 kB / 395.8 MB, free: 1.137 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.007254, allocations: 287.4 kB / 396.1 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.00745, allocations: 191.5 kB / 396.3 MB, free: 0.668 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.007495, allocations: 44 kB / 396.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003727/0.007868, allocations: 307.5 kB / 396.6 MB, free: 332 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.007926, allocations: 87.61 kB / 396.7 MB, free: 244 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.008049, allocations: 167.5 kB / 396.9 MB, free: 76 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.008689, allocations: 0.744 MB / 397.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.008692, allocations: 0 / 397.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008693, allocations: 0 / 397.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.008699, allocations: 0 / 397.6 MB, free: 15.33 MB / 330.7 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.002466/0.01117, allocations: 1.259 MB / 398.9 MB, free: 14.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.0112, allocations: 8.031 kB / 398.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.913e-05/0.01126, allocations: 66.72 kB / 399 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.01134, allocations: 52.59 kB / 399 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.01165, allocations: 297.6 kB / 399.3 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.0117, allocations: 54.92 kB / 399.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.01175, allocations: 32.38 kB / 399.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006289/0.01237, allocations: 0.6122 MB / 400 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.01239, allocations: 4.172 kB / 400 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.01242, allocations: 19.88 kB / 400 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.01243, allocations: 12 kB / 400 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.01299, allocations: 0.4962 MB / 400.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.01455, allocations: 1.275 MB / 401.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.01526, allocations: 0.5133 MB / 402.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.01559, allocations: 311.2 kB / 402.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.146e-05/0.01567, allocations: 12.31 kB / 402.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008142/0.01649, allocations: 0.6889 MB / 403.3 MB, free: 9.363 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 2.885e-06/0.01649, allocations: 3.984 kB / 403.3 MB, free: 9.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=51): time 0.003272/0.01976, allocations: 1.844 MB / 405.2 MB, free: 7.484 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.01983, allocations: 203.9 kB / 405.4 MB, free: 7.242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.02006, allocations: 320.4 kB / 405.7 MB, free: 6.922 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.02009, allocations: 37.7 kB / 405.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.02018, allocations: 181 kB / 405.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/0.02026, allocations: 158.7 kB / 406.1 MB, free: 6.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.02038, allocations: 106.1 kB / 406.2 MB, free: 6.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.02047, allocations: 350.7 kB / 406.5 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.0208, allocations: 330.7 kB / 406.8 MB, free: 5.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/0.02117, allocations: 417 kB / 407.2 MB, free: 5.316 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004024/0.02519, allocations: 2.171 MB / 409.4 MB, free: 3.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02519, allocations: 0 / 409.4 MB, free: 3.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002002/0.0272, allocations: 1.338 MB / 410.7 MB, free: 1.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.02723, allocations: 37.69 kB / 410.8 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.02723, allocations: 0 / 410.8 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/0.02908, allocations: 0.8909 MB / 411.7 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.02924, allocations: 75.89 kB / 411.7 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1366/0.1658, allocations: 1.334 MB / 413.1 MB, free: 33.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.1663, allocations: 94.64 kB / 413.2 MB, free: 33.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.1663, allocations: 23.58 kB / 413.2 MB, free: 33.72 MB / 330.7 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.0003039/0.1666, allocations: 225.6 kB / 413.4 MB, free: 33.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.1667, allocations: 48.33 kB / 413.5 MB, free: 33.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.168, allocations: 1.13 MB / 414.6 MB, free: 33.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.168, allocations: 8.391 kB / 414.6 MB, free: 33.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.168, allocations: 3.594 kB / 414.6 MB, free: 33.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.168, allocations: 2.391 kB / 414.6 MB, free: 33.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.1683, allocations: 481.4 kB / 415.1 MB, free: 32.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1683, allocations: 0.6562 kB / 415.1 MB, free: 32.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.1684, allocations: 48.34 kB / 415.1 MB, free: 32.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001962/0.1704, allocations: 0.9482 MB / 416.1 MB, free: 32.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.1704, allocations: 18.05 kB / 416.1 MB, free: 32.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.1716, allocations: 1.499 MB / 417.6 MB, free: 31.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1716, allocations: 2.969 kB / 417.6 MB, free: 31.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.1727, allocations: 1.095 MB / 418.7 MB, free: 31.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.1729, allocations: 119.7 kB / 418.8 MB, free: 31.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.173, allocations: 26.25 kB / 418.8 MB, free: 31.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.1732, allocations: 70.75 kB / 418.9 MB, free: 31.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.1733, allocations: 48.95 kB / 418.9 MB, free: 31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/0.1733, allocations: 20.89 kB / 419 MB, free: 31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1735, allocations: 228.9 kB / 419.2 MB, free: 30.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1735, allocations: 1.094 kB / 419.2 MB, free: 30.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002871/0.1738, allocations: 143.4 kB / 419.3 MB, free: 30.86 MB / 330.7 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.00132/0.1751, allocations: 1.686 MB / 421 MB, free: 29.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1762, allocations: 0.906 MB / 421.9 MB, free: 29.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1762, allocations: 1.375 kB / 421.9 MB, free: 29.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006751/0.1769, allocations: 0.5258 MB / 422.5 MB, free: 29.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.1771, allocations: 47.17 kB / 422.5 MB, free: 29.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/0.1833, allocations: 5.761 MB / 428.3 MB, free: 25.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.1834, allocations: 199.6 kB / 428.5 MB, free: 25.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.1835, allocations: 47.55 kB / 428.5 MB, free: 25.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1837, allocations: 135.2 kB / 428.6 MB, free: 25.71 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1837, allocations: 0 / 428.6 MB, free: 25.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.2078, allocations: 13.6 MB / 442.2 MB, free: 16.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.388, allocations: 0 / 442.2 MB, free: 16.24 MB / 330.7 MB " [Timeout remaining time 652] (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: 10.060030555352569] Failed to read output from testmodel.py, exit status != 0: 8.482331744395196 8.48844689 8.478460536 Calling exit ...