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.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.000938/0.000938, allocations: 83.34 kB / 20.47 MB, free: 4.109 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.0009973/0.0009973, allocations: 169.3 kB / 23.84 MB, free: 0.7344 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.9734/0.9734, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.0213/0.0213, allocations: 4.488 MB / 265.2 MB, free: 8.578 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.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 1.472e-06/1.472e-06, allocations: 0 / 336.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.036e-05, allocations: 2.312 kB / 336.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.00522/0.00524, allocations: 1.786 MB / 338.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.007045, allocations: 1.727 MB / 340 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.00716, allocations: 0 / 340 MB, free: 9.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.007526, allocations: 139.1 kB / 340.1 MB, free: 9.629 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.01087, allocations: 150.9 kB / 340.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.01201, allocations: 0.8947 MB / 341.2 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.01237, allocations: 354.5 kB / 341.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.01249, allocations: 40.91 kB / 341.6 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.01265, allocations: 195.6 kB / 341.7 MB, free: 8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.0128, allocations: 119.7 kB / 341.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.01284, allocations: 28 kB / 341.9 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.01322, allocations: 243.5 kB / 342.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.01326, allocations: 55.7 kB / 342.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.01335, allocations: 103.8 kB / 342.3 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.01685, allocations: 458.5 kB / 342.7 MB, free: 7.012 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.01685, allocations: 4 kB / 342.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.01685, allocations: 0 / 342.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.01686, allocations: 0 / 342.7 MB, free: 7.008 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002456/0.01931, allocations: 1.123 MB / 343.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.01935, allocations: 8.031 kB / 343.9 MB, free: 5.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.628e-05/0.01945, allocations: 48.75 kB / 343.9 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.01968, allocations: 227.6 kB / 344.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003042/0.02272, allocations: 12.38 kB / 344.1 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.479e-05/0.02281, allocations: 32.5 kB / 344.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.02315, allocations: 416.2 kB / 344.6 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.02316, allocations: 192 / 344.6 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.02318, allocations: 12.12 kB / 344.6 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.02319, allocations: 4 kB / 344.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.02338, allocations: 158.2 kB / 344.8 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.0241, allocations: 0.6514 MB / 345.4 MB, free: 4.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.0245, allocations: 273.3 kB / 345.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.02462, allocations: 125.6 kB / 345.8 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.02507, allocations: 0.6012 MB / 346.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.02533, allocations: 460.9 kB / 346.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.363e-06/0.02533, allocations: 0 / 346.8 MB, free: 2.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.001171/0.0265, allocations: 0.7202 MB / 347.6 MB, free: 1.852 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.02654, allocations: 217.6 kB / 347.8 MB, free: 1.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.02668, allocations: 312.2 kB / 348.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.0267, allocations: 33.7 kB / 348.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.02676, allocations: 199.5 kB / 348.3 MB, free: 1.031 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.02681, allocations: 111.1 kB / 348.4 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.02688, allocations: 87.33 kB / 348.5 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.02693, allocations: 0.5117 MB / 349 MB, free: 312 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.02703, allocations: 106.2 kB / 349.1 MB, free: 200 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.02721, allocations: 311.4 kB / 349.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.02763, allocations: 482 kB / 349.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.02764, allocations: 0 / 349.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005959/0.02823, allocations: 0.5127 MB / 350.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.02827, allocations: 44.69 kB / 350.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.02827, allocations: 11.94 kB / 350.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008134/0.02909, allocations: 374.2 kB / 350.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.02924, allocations: 71.84 kB / 350.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.03058, allocations: 2.819 MB / 353.7 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.03076, allocations: 67.7 kB / 353.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.03078, allocations: 19.94 kB / 353.8 MB, free: 11.14 MB / 282.7 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.0001975/0.03098, allocations: 247.6 kB / 354 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.03103, allocations: 47.81 kB / 354.1 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007616/0.03179, allocations: 0.5924 MB / 354.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.0318, allocations: 4 kB / 354.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.0318, allocations: 0 / 354.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.0318, allocations: 0 / 354.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.03202, allocations: 300.2 kB / 355 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.03202, allocations: 4 kB / 355 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.85e-05/0.03212, allocations: 31.92 kB / 355 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007539/0.03288, allocations: 426.3 kB / 355.4 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.03291, allocations: 12 kB / 355.4 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/0.03429, allocations: 2.914 MB / 358.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.03429, allocations: 0 / 358.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009331/0.03522, allocations: 0.7597 MB / 359.1 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.03533, allocations: 71.7 kB / 359.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.03538, allocations: 24 kB / 359.2 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.03552, allocations: 35.95 kB / 359.2 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.03562, allocations: 35.89 kB / 359.3 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.03564, allocations: 15.98 kB / 359.3 MB, free: 5.309 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.03577, allocations: 213.1 kB / 359.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03577, allocations: 0 / 359.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.03603, allocations: 95.94 kB / 359.6 MB, free: 5.008 MB / 282.7 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.0002131/0.03625, allocations: 139.2 kB / 359.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007333/0.03698, allocations: 0.5948 MB / 360.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.03698, allocations: 0 / 360.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003912/0.03737, allocations: 438.4 kB / 360.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.03756, allocations: 44.34 kB / 360.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.03868, allocations: 0.6072 MB / 361.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.927e-05/0.03874, allocations: 89.31 kB / 361.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.763e-05/0.0388, allocations: 26.28 kB / 361.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.03886, allocations: 36.48 kB / 361.6 MB, free: 2.902 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.03886, allocations: 0 / 361.6 MB, free: 2.902 MB / 282.7 MB Notification: Performance of Templates: time 0.007449/0.04631, allocations: 5.848 MB / 367.4 MB, free: 13.11 MB / 298.7 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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0265313549898565]