Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 111.2 kB / 17.17 MB, free: 5.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 196.5 kB / 20.12 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 248.5 MB, free: 3.652 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05132/0.05132, allocations: 8.236 MB / 311.6 MB, free: 2.176 MB / 238.1 MB " [Timeout remaining time 180] 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.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.88 kB / 434 MB, free: 11.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2565, allocations: 54.36 MB / 488.3 MB, free: 27.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002625/0.2592, allocations: 1.834 MB / 490.2 MB, free: 26.02 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.2611, allocations: 1.697 MB / 491.9 MB, free: 24.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.2612, allocations: 3.25 kB / 491.9 MB, free: 24.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003751/0.2615, allocations: 153.9 kB / 492 MB, free: 24.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.2619, allocations: 144.5 kB / 492.2 MB, free: 24.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.2634, allocations: 0.9597 MB / 493.1 MB, free: 23.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.2638, allocations: 352.2 kB / 493.5 MB, free: 23.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.2639, allocations: 46.58 kB / 493.5 MB, free: 23.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.264, allocations: 135.9 kB / 493.6 MB, free: 23.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.2642, allocations: 160.8 kB / 493.8 MB, free: 23.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.2643, allocations: 28.88 kB / 493.8 MB, free: 23.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004103/0.2647, allocations: 241 kB / 494.1 MB, free: 23.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.2647, allocations: 52.98 kB / 494.1 MB, free: 23.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.2648, allocations: 157.8 kB / 494.3 MB, free: 23.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.2654, allocations: 0.4952 MB / 494.8 MB, free: 22.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2654, allocations: 0 / 494.8 MB, free: 22.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2654, allocations: 1.812 kB / 494.8 MB, free: 22.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.2654, allocations: 0 / 494.8 MB, free: 22.69 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003455/0.2689, allocations: 1.069 MB / 495.8 MB, free: 21.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2689, allocations: 13.55 kB / 495.8 MB, free: 21.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.269, allocations: 49.95 kB / 495.9 MB, free: 21.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.561e-05/0.2691, allocations: 34.44 kB / 495.9 MB, free: 21.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.2694, allocations: 296.8 kB / 496.2 MB, free: 21.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.2694, allocations: 18.47 kB / 496.2 MB, free: 21.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.2695, allocations: 28.23 kB / 496.3 MB, free: 21.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.2701, allocations: 340.8 kB / 496.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2701, allocations: 0 / 496.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.2701, allocations: 12.75 kB / 496.6 MB, free: 21.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.2701, allocations: 2.562 kB / 496.6 MB, free: 21.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.2706, allocations: 263.8 kB / 496.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.2719, allocations: 0.9296 MB / 497.8 MB, free: 20.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007589/0.2727, allocations: 390.7 kB / 498.2 MB, free: 20.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.273, allocations: 156.8 kB / 498.3 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007467/0.2737, allocations: 0.8186 MB / 499.1 MB, free: 19.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005416/0.2742, allocations: 387.9 kB / 499.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.273e-06/0.2743, allocations: 5.219 kB / 499.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002535/0.2768, allocations: 0.9481 MB / 0.4887 GB, free: 18.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.2769, allocations: 221.6 kB / 0.489 GB, free: 18.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.2771, allocations: 255.6 kB / 0.4892 GB, free: 17.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.2771, allocations: 38.11 kB / 0.4892 GB, free: 17.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.2772, allocations: 147.1 kB / 0.4894 GB, free: 17.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.2773, allocations: 108.7 kB / 0.4895 GB, free: 17.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.2774, allocations: 86.34 kB / 0.4896 GB, free: 17.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.2775, allocations: 337.5 kB / 0.4899 GB, free: 17.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.2777, allocations: 131.1 kB / 0.49 GB, free: 17.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.278, allocations: 241.4 kB / 0.4902 GB, free: 16.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/0.2809, allocations: 1.021 MB / 0.4912 GB, free: 16.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2809, allocations: 3.938 kB / 0.4912 GB, free: 16.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009541/0.2818, allocations: 0.5751 MB / 0.4918 GB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/0.2818, allocations: 38.59 kB / 0.4918 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2819, allocations: 2.812 kB / 0.4918 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.2832, allocations: 367.5 kB / 0.4922 GB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.2835, allocations: 62 kB / 0.4923 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.285, allocations: 2.258 MB / 0.4945 GB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.2854, allocations: 83.31 kB / 0.4945 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.2855, allocations: 16.55 kB / 0.4946 GB, free: 13.48 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = \"V\" fixed = true ) type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002521/0.2857, allocations: 217.8 kB / 0.4948 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.2858, allocations: 41.7 kB / 0.4948 GB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.2872, allocations: 0.6597 MB / 0.4954 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2872, allocations: 7.875 kB / 0.4955 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2872, allocations: 3.938 kB / 0.4955 GB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2872, allocations: 0 / 0.4955 GB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.2875, allocations: 437.3 kB / 0.4959 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2875, allocations: 0 / 0.4959 GB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.2877, allocations: 38.7 kB / 0.4959 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.2891, allocations: 403.9 kB / 0.4963 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.2891, allocations: 9.375 kB / 0.4963 GB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.2908, allocations: 2.384 MB / 0.4986 GB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2909, allocations: 0 / 0.4986 GB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.2926, allocations: 0.8849 MB / 0.4995 GB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.2927, allocations: 147 kB / 0.4996 GB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.2928, allocations: 18.44 kB / 0.4997 GB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.2931, allocations: 55.53 kB / 0.4997 GB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.977e-05/0.2932, allocations: 37.2 kB / 0.4997 GB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.2932, allocations: 21.52 kB / 0.4998 GB, free: 9.281 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.2934, allocations: 185.9 kB / 0.4999 GB, free: 9.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2934, allocations: 0 / 0.4999 GB, free: 9.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004076/0.2938, allocations: 103.7 kB / 0.5 GB, free: 9.133 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001974/0.2957, allocations: 1.46 MB / 0.5015 GB, free: 8.059 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.2968, allocations: 0.5704 MB / 0.502 GB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2968, allocations: 0 / 0.502 GB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006517/0.2975, allocations: 393.6 kB / 0.5024 GB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.2977, allocations: 38.66 kB / 0.5024 GB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.3016, allocations: 3.478 MB / 0.5058 GB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.3018, allocations: 0.759 MB / 0.5066 GB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.3019, allocations: 33.11 kB / 0.5066 GB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.302, allocations: 94.25 kB / 0.5067 GB, free: 4.004 MB / 366.1 MB Notification: Performance of SimCode: time 4.7e-07/0.302, allocations: 0 / 0.5067 GB, free: 4.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03752/0.3395, allocations: 9.55 MB / 0.516 GB, free: 11.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.16, allocations: 10.31 kB / 0.516 GB, free: 11.27 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2_fmu --startTime=0 --stopTime=3000 --stepSize=1.2 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.588977375999093] Failed to read output from testmodel.py, exit status != 0: 12.251702262088656 12.265086644 11.996941702 Calling exit ...