Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.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.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",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.0009868/0.0009867, allocations: 96.75 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.001037/0.001037, allocations: 176.6 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.275/1.275, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1544/0.1544, allocations: 8.086 MB / 299.7 MB, free: 2.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002893, allocations: 12 kB / 362.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.08979, allocations: 52.52 MB / 415.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.001513/0.09135, allocations: 1.307 MB / 416.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008185/0.09218, allocations: 0.5734 MB / 417.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.09225, allocations: 0 / 417.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.489e-05/0.09234, allocations: 19.91 kB / 417.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.09249, allocations: 43.86 kB / 417.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.09276, allocations: 83.64 kB / 417.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.09289, allocations: 87.88 kB / 417.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.738e-05/0.09297, allocations: 9.125 kB / 417.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.789e-05/0.09307, allocations: 71.75 kB / 417.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.0932, allocations: 75.77 kB / 417.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.09324, allocations: 8 kB / 417.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.09335, allocations: 71.92 kB / 417.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.0934, allocations: 23.86 kB / 417.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.09346, allocations: 49.62 kB / 417.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.09362, allocations: 124 kB / 417.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.09363, allocations: 0 / 417.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09364, allocations: 0 / 417.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.09365, allocations: 0 / 417.9 MB, free: 6.113 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.0005126/0.09417, allocations: 490.1 kB / 418.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.09421, allocations: 8.031 kB / 418.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.09425, allocations: 38.56 kB / 418.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.0943, allocations: 19.77 kB / 418.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.09453, allocations: 218.9 kB / 418.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.09456, allocations: 0 / 418.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.09459, allocations: 12 kB / 418.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.09489, allocations: 141.5 kB / 418.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.09491, allocations: 0 / 418.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.09493, allocations: 4 kB / 418.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.09494, allocations: 3.953 kB / 418.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.09513, allocations: 71.94 kB / 418.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.09569, allocations: 400.6 kB / 419.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.09592, allocations: 122.5 kB / 419.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.09593, allocations: 0 / 419.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/0.09635, allocations: 331.7 kB / 419.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.372e-06/0.09637, allocations: 4 kB / 419.7 MB, free: 4.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008162/0.09719, allocations: 0.5287 MB / 420.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.993e-05/0.0973, allocations: 229.5 kB / 420.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.09747, allocations: 206.2 kB / 420.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.09751, allocations: 33.7 kB / 420.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.09757, allocations: 104.1 kB / 420.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.09762, allocations: 43.53 kB / 420.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-06/0.09763, allocations: 4 kB / 420.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.09774, allocations: 330.8 kB / 421.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.09784, allocations: 55.97 kB / 421.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.485e-05/0.09794, allocations: 69.69 kB / 421.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.09805, allocations: 105.8 kB / 421.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.09806, allocations: 0 / 421.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003195/0.09839, allocations: 268.7 kB / 421.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.09845, allocations: 67.39 kB / 421.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.09846, allocations: 7.938 kB / 421.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.09847, allocations: 3.984 kB / 421.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.09854, allocations: 15.98 kB / 421.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.09856, allocations: 0 / 421.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.09883, allocations: 55.86 kB / 421.8 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.09886, allocations: 12 kB / 421.8 MB, free: 1.785 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.000208/0.09907, allocations: 216.1 kB / 422 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.09912, allocations: 19.81 kB / 422.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.09915, allocations: 17.88 kB / 422.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.09916, allocations: 4 kB / 422.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.09917, allocations: 7.938 kB / 422.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.09918, allocations: 4 kB / 422.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.09937, allocations: 249.5 kB / 422.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.09938, allocations: 7.938 kB / 422.3 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.0994, allocations: 3.984 kB / 422.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.09941, allocations: 0 / 422.3 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.553e-05/0.09944, allocations: 15.94 kB / 422.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.09945, allocations: 0 / 422.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.09945, allocations: 80 / 422.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006131/0.1001, allocations: 402.3 kB / 422.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1002, allocations: 124.8 kB / 422.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.1003, allocations: 16 kB / 422.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.1005, allocations: 51.94 kB / 422.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.1006, allocations: 23.97 kB / 423 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.1006, allocations: 15.98 kB / 423 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1008, allocations: 147.2 kB / 423.1 MB, free: 368 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1008, allocations: 0 / 423.1 MB, free: 368 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.101, allocations: 60.12 kB / 423.2 MB, free: 308 kB / 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.0009202/0.102, allocations: 0.9636 MB / 424.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004864/0.1025, allocations: 390.7 kB / 424.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1025, allocations: 0 / 424.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.1029, allocations: 414.6 kB / 424.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.103, allocations: 19.98 kB / 425 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.1046, allocations: 1.1 MB / 426.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.1048, allocations: 0.7277 MB / 426.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.834e-05/0.1049, allocations: 8.422 kB / 426.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.1049, allocations: 39.42 kB / 426.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1049, allocations: 0 / 426.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.118, allocations: 4.215 MB / 431 MB, free: 8.387 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/0.1182, allocations: 166 kB / 431.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.761, allocations: 0 / 431.2 MB, free: 8.145 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation2_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation2.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) Environment - environmentSimulation: