Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.0009056/0.0009056, allocations: 82.64 kB / 21.48 MB, free: 3.02 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.000895/0.000895, allocations: 168.9 kB / 24.88 MB, free: 8.891 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 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.0253/0.0253, allocations: 4.491 MB / 266.4 MB, free: 8.41 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: translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 337.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.37e-05, allocations: 4.422 kB / 337.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.00224/0.002264, allocations: 2.614 MB / 340.3 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.003736, allocations: 1.347 MB / 341.7 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.00384, allocations: 4 kB / 341.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.004222, allocations: 250.8 kB / 341.9 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.004533, allocations: 262.7 kB / 342.2 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.005578, allocations: 0.9412 MB / 343.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.005996, allocations: 458.3 kB / 343.6 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.006106, allocations: 48.89 kB / 343.6 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.006283, allocations: 271.4 kB / 343.9 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.006492, allocations: 279.4 kB / 344.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.006527, allocations: 32 kB / 344.2 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.006872, allocations: 311.5 kB / 344.5 MB, free: 6.203 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.006965, allocations: 139.5 kB / 344.6 MB, free: 6.066 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.439e-05/0.00706, allocations: 155.5 kB / 344.8 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.007542, allocations: 0.6502 MB / 345.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.007545, allocations: 0 / 345.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.007545, allocations: 0 / 345.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.007551, allocations: 4 kB / 345.4 MB, free: 5.258 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002021/0.009572, allocations: 1.437 MB / 346.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.009607, allocations: 12.03 kB / 346.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.624e-05/0.009703, allocations: 84.52 kB / 347 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.00998, allocations: 352.5 kB / 347.3 MB, free: 3.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.01, allocations: 20.38 kB / 347.3 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.01004, allocations: 20.38 kB / 347.4 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.01036, allocations: 441.2 kB / 347.8 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.01037, allocations: 4.172 kB / 347.8 MB, free: 2.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.01039, allocations: 19.94 kB / 347.8 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.0104, allocations: 4 kB / 347.8 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.01057, allocations: 180.8 kB / 348 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007359/0.0113, allocations: 0.7155 MB / 348.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.01165, allocations: 297 kB / 349 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.01174, allocations: 159.1 kB / 349.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/0.01223, allocations: 0.6172 MB / 349.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.01249, allocations: 0.5121 MB / 350.3 MB, free: 92 kB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.273e-06/0.01249, allocations: 0 / 350.3 MB, free: 92 kB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001492/0.01398, allocations: 0.9069 MB / 351.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.01407, allocations: 251.3 kB / 351.4 MB, free: 14.83 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.01444, allocations: 0.6037 MB / 352 MB, free: 14.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.01447, allocations: 33.7 kB / 352.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.01464, allocations: 331.4 kB / 352.4 MB, free: 13.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/0.01472, allocations: 123 kB / 352.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.01483, allocations: 99.66 kB / 352.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.015, allocations: 0.578 MB / 353.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.01511, allocations: 136.2 kB / 353.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.01529, allocations: 326.3 kB / 353.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.01569, allocations: 0.5351 MB / 354.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01569, allocations: 4 kB / 354.2 MB, free: 11.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008448/0.01654, allocations: 0.7048 MB / 354.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.01658, allocations: 71.39 kB / 355 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01659, allocations: 0 / 355 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000781/0.01737, allocations: 366.6 kB / 355.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.01751, allocations: 71.84 kB / 355.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.0189, allocations: 2.794 MB / 358.2 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.0191, allocations: 67.64 kB / 358.2 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.01912, allocations: 12 kB / 358.3 MB, free: 7.535 MB / 282.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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($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,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.000221/0.01934, allocations: 287.1 kB / 358.5 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.01943, allocations: 87.58 kB / 358.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000928/0.02035, allocations: 0.7528 MB / 359.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02036, allocations: 0 / 359.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.02036, allocations: 4 kB / 359.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.02036, allocations: 0 / 359.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.02065, allocations: 340.9 kB / 359.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.02065, allocations: 0 / 359.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.02073, allocations: 31.86 kB / 359.7 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007425/0.02147, allocations: 422.3 kB / 360.2 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.02149, allocations: 19.92 kB / 360.2 MB, free: 5.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.02284, allocations: 2.868 MB / 363 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.02284, allocations: 7.922 kB / 363.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009021/0.02374, allocations: 0.793 MB / 363.8 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.02388, allocations: 115.5 kB / 364 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.02395, allocations: 31.89 kB / 364 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.0241, allocations: 35.91 kB / 364 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/0.02418, allocations: 39.94 kB / 364.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.02421, allocations: 19.98 kB / 364.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002196/0.02443, allocations: 366.6 kB / 364.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02443, allocations: 0 / 364.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.02476, allocations: 135.9 kB / 364.6 MB, free: 0.8711 MB / 282.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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.0002132/0.02497, allocations: 175.1 kB / 364.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007006/0.02567, allocations: 0.7156 MB / 365.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.02567, allocations: 4.188 kB / 365.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.02609, allocations: 0.5282 MB / 366 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.02634, allocations: 66.88 kB / 366.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.02749, allocations: 0.9469 MB / 367 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.4e-05/0.02758, allocations: 146.1 kB / 367.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.02768, allocations: 47.25 kB / 367.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.02785, allocations: 146.2 kB / 367.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02785, allocations: 4 kB / 367.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of Templates: time 0.01045/0.0383, allocations: 8.611 MB / 376 MB, free: 5.375 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0490611218847334]