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: "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 95.34 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.0009979/0.000998, allocations: 180.6 kB / 16.61 MB, free: 6.887 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.264/1.264, allocations: 223.2 MB / 240.6 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1483/0.1483, allocations: 8.082 MB / 299.7 MB, free: 2.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002863, allocations: 8 kB / 362.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.09018, allocations: 52.51 MB / 415.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.001502/0.09172, allocations: 1.303 MB / 416.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.09259, allocations: 0.5695 MB / 417.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.09268, allocations: 11.94 kB / 417.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.09284, allocations: 107.8 kB / 417.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.09306, allocations: 143.7 kB / 417.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.09334, allocations: 79.77 kB / 417.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.09349, allocations: 127.8 kB / 417.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.333e-05/0.09357, allocations: 13.11 kB / 417.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.0937, allocations: 103.7 kB / 417.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.09391, allocations: 155.7 kB / 418 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.09394, allocations: 8 kB / 418 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.09411, allocations: 67.92 kB / 418 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.09422, allocations: 107.6 kB / 418.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.09429, allocations: 73.52 kB / 418.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.09453, allocations: 215.9 kB / 418.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.09454, allocations: 4 kB / 418.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09455, allocations: 0 / 418.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.09456, allocations: 0 / 418.4 MB, free: 5.57 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.0007667/0.09533, allocations: 0.6568 MB / 419.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.09537, allocations: 8.031 kB / 419.1 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.09543, allocations: 42.55 kB / 419.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.09549, allocations: 43.48 kB / 419.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.09594, allocations: 357.1 kB / 419.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.09596, allocations: 8 kB / 419.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.09599, allocations: 12 kB / 419.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.09631, allocations: 169.6 kB / 419.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.09633, allocations: 0 / 419.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.09635, allocations: 4 kB / 419.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.09636, allocations: 7.938 kB / 419.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.09659, allocations: 111.9 kB / 419.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007292/0.09733, allocations: 0.5045 MB / 420.3 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.09759, allocations: 166.5 kB / 420.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-06/0.09761, allocations: 0 / 420.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00045/0.09807, allocations: 375.6 kB / 420.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.09808, allocations: 0 / 420.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.000968/0.09905, allocations: 0.7275 MB / 421.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.09917, allocations: 225.6 kB / 421.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/0.09975, allocations: 0.5564 MB / 422.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.09978, allocations: 33.7 kB / 422.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.09993, allocations: 196.2 kB / 422.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.09998, allocations: 51.38 kB / 422.6 MB, free: 1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.09999, allocations: 4 kB / 422.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1001, allocations: 366.7 kB / 423 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1003, allocations: 91.97 kB / 423.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1004, allocations: 113.7 kB / 423.2 MB, free: 432 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1005, allocations: 145.8 kB / 423.3 MB, free: 276 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1005, allocations: 4 kB / 423.4 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.1673/0.2679, allocations: 423.5 kB / 423.8 MB, free: 41.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.268, allocations: 74.22 kB / 423.8 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.268, allocations: 0 / 423.8 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.268, allocations: 2.781 kB / 423.8 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.227e-05/0.2681, allocations: 16.11 kB / 423.9 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2681, allocations: 0 / 423.9 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.2684, allocations: 58.91 kB / 423.9 MB, free: 41.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.2684, allocations: 7.594 kB / 423.9 MB, free: 41.39 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.0002858/0.2687, allocations: 282 kB / 424.2 MB, free: 41.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.2688, allocations: 46.19 kB / 424.2 MB, free: 41.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.2688, allocations: 43.67 kB / 424.3 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2688, allocations: 6.969 kB / 424.3 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2688, allocations: 3.781 kB / 424.3 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2688, allocations: 4.547 kB / 424.3 MB, free: 41.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.2691, allocations: 342.5 kB / 424.6 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2691, allocations: 0 / 424.6 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.2691, allocations: 1.719 kB / 424.6 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2691, allocations: 4.969 kB / 424.6 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.2691, allocations: 12.31 kB / 424.7 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2691, allocations: 2.203 kB / 424.7 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2691, allocations: 3.266 kB / 424.7 MB, free: 41.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006219/0.2698, allocations: 0.534 MB / 425.2 MB, free: 40.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.2699, allocations: 148.5 kB / 425.3 MB, free: 40.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.27, allocations: 17.84 kB / 425.4 MB, free: 40.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.2703, allocations: 57.25 kB / 425.4 MB, free: 40.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.2704, allocations: 23.75 kB / 425.4 MB, free: 40.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.2704, allocations: 15.38 kB / 425.4 MB, free: 40.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003492/0.2707, allocations: 420.7 kB / 425.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2708, allocations: 0 / 425.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.271, allocations: 75.81 kB / 425.9 MB, free: 40.66 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.0008129/0.2719, allocations: 1.11 MB / 427 MB, free: 39.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.2723, allocations: 478.6 kB / 427.5 MB, free: 39.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2723, allocations: 0 / 427.5 MB, free: 39.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.2727, allocations: 455.8 kB / 428 MB, free: 39.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.2729, allocations: 25.44 kB / 428 MB, free: 39.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.2756, allocations: 2.791 MB / 430.8 MB, free: 39.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.2758, allocations: 0.8154 MB / 431.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.01e-05/0.2759, allocations: 42.11 kB / 431.6 MB, free: 38.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.276, allocations: 116.4 kB / 431.7 MB, free: 38.34 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.276, allocations: 0 / 431.7 MB, free: 38.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.2912, allocations: 7.357 MB / 439.1 MB, free: 37.78 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001341/0.2914, allocations: 161.4 kB / 439.3 MB, free: 37.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/1.91, allocations: 0 / 439.3 MB, free: 37.55 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation1_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation1.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) Environment - environmentSimulation: