Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) 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.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") translateModel(PowerSysPro.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00088/0.0008799, allocations: 95.89 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 180.4 kB / 16.61 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.2 MB / 240.6 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1934/0.1934, allocations: 8.086 MB / 299.7 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 8 kB / 362.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1173, allocations: 52.52 MB / 415.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.001746/0.1191, allocations: 1.303 MB / 416.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009473/0.1201, allocations: 0.5773 MB / 417.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.1202, allocations: 4 kB / 417.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.1203, allocations: 115.8 kB / 417.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.1206, allocations: 131.7 kB / 417.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.1209, allocations: 79.77 kB / 417.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1211, allocations: 131.8 kB / 417.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.1211, allocations: 13.11 kB / 417.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1213, allocations: 107.7 kB / 417.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1215, allocations: 151.7 kB / 417.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.1215, allocations: 4 kB / 417.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1216, allocations: 63.94 kB / 417.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001892/0.1218, allocations: 115.6 kB / 418 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.387e-05/0.1219, allocations: 69.52 kB / 418.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.1222, allocations: 223.9 kB / 418.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.1222, allocations: 4 kB / 418.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1223, allocations: 0 / 418.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1223, allocations: 0 / 418.3 MB, free: 5.668 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008052/0.1231, allocations: 0.6452 MB / 419 MB, free: 4.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1231, allocations: 16.02 kB / 419 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/0.1232, allocations: 47.39 kB / 419 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.1237, allocations: 357.2 kB / 419.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1237, allocations: 8 kB / 419.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1237, allocations: 7.938 kB / 419.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.1241, allocations: 173.6 kB / 419.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1241, allocations: 3.984 kB / 419.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.1241, allocations: 4 kB / 419.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1242, allocations: 0 / 419.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.1244, allocations: 119.9 kB / 419.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.1252, allocations: 0.5045 MB / 420.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1254, allocations: 158.5 kB / 420.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.1254, allocations: 4 kB / 420.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.1259, allocations: 367.7 kB / 420.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.523e-06/0.1259, allocations: 0 / 420.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009383/0.1269, allocations: 0.7313 MB / 421.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.127, allocations: 225.6 kB / 421.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/0.1276, allocations: 0.5642 MB / 422.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1276, allocations: 29.7 kB / 422.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1278, allocations: 196.1 kB / 422.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.1278, allocations: 51.47 kB / 422.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.1278, allocations: 4 kB / 422.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.128, allocations: 358.8 kB / 422.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1281, allocations: 95.95 kB / 423 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1282, allocations: 120.1 kB / 423.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1284, allocations: 151.4 kB / 423.2 MB, free: 420 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1284, allocations: 0 / 423.2 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.1944/0.3228, allocations: 423.3 kB / 423.6 MB, free: 42.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.207e-05/0.323, allocations: 72.8 kB / 423.7 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.323, allocations: 0 / 423.7 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.323, allocations: 2.781 kB / 423.7 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3231, allocations: 9.219 kB / 423.7 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3231, allocations: 4.188 kB / 423.7 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.3235, allocations: 59.31 kB / 423.8 MB, free: 42.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.3236, allocations: 4.906 kB / 423.8 MB, free: 42.14 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$PRE.tapChanger.tap,tapChanger.tap,$PRE.tapChanger.abnormalUTime,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,$PRE.tapChanger.furtherTapChangeTimeout,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003979/0.324, allocations: 285.4 kB / 424.1 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.324, allocations: 46.5 kB / 424.1 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.3241, allocations: 46.27 kB / 424.2 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3241, allocations: 2.969 kB / 424.2 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3241, allocations: 0.8438 kB / 424.2 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.3241, allocations: 3.609 kB / 424.2 MB, free: 41.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.3244, allocations: 342.7 kB / 424.5 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3244, allocations: 0.75 kB / 424.5 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.3244, allocations: 8.969 kB / 424.5 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.3244, allocations: 2.688 kB / 424.5 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.3245, allocations: 13.47 kB / 424.5 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3245, allocations: 6.406 kB / 424.5 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3245, allocations: 2.062 kB / 424.5 MB, free: 41.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/0.3252, allocations: 0.5268 MB / 425.1 MB, free: 41.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.3254, allocations: 158.4 kB / 425.2 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.86e-05/0.3255, allocations: 12.23 kB / 425.2 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.3257, allocations: 54 kB / 425.3 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/0.3258, allocations: 29.17 kB / 425.3 MB, free: 41.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.3259, allocations: 17.72 kB / 425.3 MB, free: 41.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003644/0.3262, allocations: 413.1 kB / 425.7 MB, free: 41.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3263, allocations: 0 / 425.7 MB, free: 41.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.3266, allocations: 73.72 kB / 425.8 MB, free: 41.43 MB / 350.1 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,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (tapChanger.tap,tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001871/0.3267, allocations: 143.8 kB / 425.9 MB, free: 41.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004975/0.3273, allocations: 473.1 kB / 426.4 MB, free: 41.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3273, allocations: 0 / 426.4 MB, free: 41.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.3276, allocations: 454.4 kB / 426.8 MB, free: 41.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.3278, allocations: 29.91 kB / 426.9 MB, free: 41.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009141/0.3288, allocations: 0.7696 MB / 427.6 MB, free: 40.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.329, allocations: 0.816 MB / 428.5 MB, free: 40.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.127e-05/0.3291, allocations: 44.83 kB / 428.5 MB, free: 40.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.3291, allocations: 16.91 kB / 428.5 MB, free: 40.07 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.3291, allocations: 0 / 428.5 MB, free: 40.07 MB / 350.1 MB Notification: Performance of Templates: time 0.00607/0.3352, allocations: 3.566 MB / 432.1 MB, free: 39.83 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) Environment - environmentSimulation: