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.001255/0.001255, allocations: 109.8 kB / 18.37 MB, free: 3.926 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.001302/0.001302, allocations: 193.9 kB / 21.55 MB, free: 0.7539 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.492/1.492, allocations: 225.6 MB / 250.2 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05854/0.05854, allocations: 8.228 MB / 313.5 MB, free: 1.895 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/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: translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 59.91 kB / 437.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.354, allocations: 54.37 MB / 491.7 MB, free: 27.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003126/0.3571, allocations: 1.837 MB / 493.5 MB, free: 26.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.3595, allocations: 1.711 MB / 495.2 MB, free: 24.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.3596, allocations: 2.75 kB / 495.3 MB, free: 24.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.3601, allocations: 142.4 kB / 495.4 MB, free: 24.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.3605, allocations: 156.7 kB / 495.5 MB, free: 24.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.3621, allocations: 0.9496 MB / 496.5 MB, free: 23.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.3626, allocations: 364.6 kB / 496.8 MB, free: 23.51 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3627, allocations: 50.08 kB / 496.9 MB, free: 23.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3629, allocations: 135.9 kB / 497 MB, free: 23.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.3631, allocations: 158.2 kB / 497.2 MB, free: 23.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.3631, allocations: 32.97 kB / 497.2 MB, free: 23.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005086/0.3636, allocations: 235.7 kB / 497.4 MB, free: 23.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.3637, allocations: 57.22 kB / 497.5 MB, free: 23.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.3638, allocations: 159 kB / 497.7 MB, free: 23.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.3645, allocations: 0.493 MB / 498.2 MB, free: 22.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3645, allocations: 0 / 498.2 MB, free: 22.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3645, allocations: 0 / 498.2 MB, free: 22.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.3645, allocations: 5.156 kB / 498.2 MB, free: 22.7 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.003537/0.368, allocations: 1.071 MB / 499.2 MB, free: 21.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3681, allocations: 10.34 kB / 499.2 MB, free: 21.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.535e-05/0.3681, allocations: 33.06 kB / 499.3 MB, free: 21.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.3685, allocations: 293.8 kB / 499.6 MB, free: 21.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.3685, allocations: 17.47 kB / 499.6 MB, free: 21.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3686, allocations: 24.2 kB / 499.6 MB, free: 21.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.3692, allocations: 336.7 kB / 499.9 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3693, allocations: 0 / 499.9 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.3693, allocations: 7.625 kB / 499.9 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3693, allocations: 3.062 kB / 499.9 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.3698, allocations: 268.3 kB / 0.4885 GB, free: 21.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.3711, allocations: 0.9332 MB / 0.4894 GB, free: 20.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/0.3719, allocations: 391.5 kB / 0.4898 GB, free: 20.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.3722, allocations: 157.7 kB / 0.4899 GB, free: 20.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008211/0.3731, allocations: 0.8034 MB / 0.4907 GB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005801/0.3736, allocations: 384.1 kB / 0.4911 GB, free: 19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.3736, allocations: 4 kB / 0.4911 GB, free: 18.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002659/0.3763, allocations: 0.9567 MB / 0.492 GB, free: 18.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.3764, allocations: 221.7 kB / 0.4922 GB, free: 18.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.3767, allocations: 258.7 kB / 0.4925 GB, free: 17.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.3767, allocations: 41.95 kB / 0.4925 GB, free: 17.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.3768, allocations: 148.9 kB / 0.4926 GB, free: 17.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.117e-05/0.3769, allocations: 100.6 kB / 0.4927 GB, free: 17.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.377, allocations: 89.59 kB / 0.4928 GB, free: 17.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.3771, allocations: 341.2 kB / 0.4931 GB, free: 17.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.3774, allocations: 135.2 kB / 0.4933 GB, free: 17.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.3777, allocations: 241.6 kB / 0.4935 GB, free: 16.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/0.3809, allocations: 1.02 MB / 0.4945 GB, free: 16.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3809, allocations: 1.562 kB / 0.4945 GB, free: 16.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001122/0.382, allocations: 0.5704 MB / 0.4951 GB, free: 16.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.382, allocations: 42.77 kB / 0.4951 GB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3821, allocations: 7.578 kB / 0.4951 GB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.3835, allocations: 351.2 kB / 0.4954 GB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.3838, allocations: 68.97 kB / 0.4955 GB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.3856, allocations: 2.266 MB / 0.4977 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005103/0.3861, allocations: 76.97 kB / 0.4978 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-05/0.3861, allocations: 21.64 kB / 0.4978 GB, free: 13.54 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.0003225/0.3864, allocations: 212.5 kB / 0.498 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.3865, allocations: 37.5 kB / 0.4981 GB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.3881, allocations: 0.6718 MB / 0.4987 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3881, allocations: 7.344 kB / 0.4987 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3881, allocations: 3.938 kB / 0.4987 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3881, allocations: 1.156 kB / 0.4987 GB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.3884, allocations: 436.8 kB / 0.4991 GB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3885, allocations: 0 / 0.4991 GB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.3886, allocations: 29.61 kB / 0.4992 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001482/0.3901, allocations: 410.6 kB / 0.4996 GB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.3901, allocations: 9.156 kB / 0.4996 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.3921, allocations: 2.376 MB / 0.5019 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3921, allocations: 1.406 kB / 0.5019 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.3939, allocations: 0.8869 MB / 0.5028 GB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.3941, allocations: 151.9 kB / 0.5029 GB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.3942, allocations: 21.62 kB / 0.5029 GB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.3946, allocations: 57 kB / 0.503 GB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.3947, allocations: 36.31 kB / 0.503 GB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.634e-05/0.3947, allocations: 17.61 kB / 0.503 GB, free: 9.344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.3949, allocations: 185 kB / 0.5032 GB, free: 9.215 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3949, allocations: 1.375 kB / 0.5032 GB, free: 9.215 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004639/0.3954, allocations: 94.5 kB / 0.5033 GB, free: 9.203 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.000241/0.3956, allocations: 143.8 kB / 0.5034 GB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.3968, allocations: 0.5619 MB / 0.504 GB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3968, allocations: 0 / 0.504 GB, free: 8.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007415/0.3975, allocations: 389.5 kB / 0.5044 GB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.3978, allocations: 38.95 kB / 0.5044 GB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.399, allocations: 0.6293 MB / 0.505 GB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.3992, allocations: 0.7623 MB / 0.5057 GB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.3993, allocations: 32.17 kB / 0.5058 GB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.3993, allocations: 28.19 kB / 0.5058 GB, free: 7.223 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3993, allocations: 0 / 0.5058 GB, free: 7.223 MB / 366.1 MB Notification: Performance of Templates: time 0.01009/0.4094, allocations: 6.68 MB / 0.5123 GB, free: 1.711 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile [Timeout 660] (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 & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.144975485280156]