Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009656/0.0009654, allocations: 182 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.5 MB / 230 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000881/0.0008811, allocations: 96.03 kB / 280.9 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04389/0.04389, allocations: 8.095 MB / 339.8 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.296e-05, allocations: 3.938 kB / 398.6 MB, free: 49.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09323, allocations: 52.53 MB / 451.1 MB, free: 5.262 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.1956, allocations: 81.77 MB / 0.5204 GB, free: 3.375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.1958, allocations: 67.97 kB / 0.5204 GB, free: 3.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2365/0.4323, allocations: 12.01 MB / 0.5322 GB, free: 79.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4324, allocations: 0 / 0.5322 GB, free: 79.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.4324, allocations: 14.25 kB / 0.5322 GB, free: 79.36 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.002676/0.4351, allocations: 0.8901 MB / 0.5331 GB, free: 78.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.4351, allocations: 12.92 kB / 0.5331 GB, free: 78.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.4353, allocations: 49.31 kB / 0.5331 GB, free: 78.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.4357, allocations: 356.6 kB / 0.5335 GB, free: 78.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.4358, allocations: 43.64 kB / 0.5335 GB, free: 78.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.4359, allocations: 17.59 kB / 0.5335 GB, free: 78.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006465/0.4365, allocations: 405.3 kB / 0.5339 GB, free: 78.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.4372, allocations: 408.8 kB / 0.5343 GB, free: 78.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4372, allocations: 0 / 0.5343 GB, free: 78.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.08e-05/0.4373, allocations: 6.047 kB / 0.5343 GB, free: 78.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.4373, allocations: 6.312 kB / 0.5343 GB, free: 78.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.4404, allocations: 2.095 MB / 0.5363 GB, free: 77.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.4415, allocations: 0.509 MB / 0.5368 GB, free: 77.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.442, allocations: 284.7 kB / 0.5371 GB, free: 77.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/0.4421, allocations: 11 kB / 0.5371 GB, free: 77.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007354/0.4428, allocations: 497.1 kB / 0.5376 GB, free: 77.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.174e-06/0.4428, allocations: 4 kB / 0.5376 GB, free: 77.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.003581/0.4464, allocations: 1.182 MB / 0.5388 GB, free: 76.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.4465, allocations: 199 kB / 0.5389 GB, free: 76.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.4469, allocations: 281.4 kB / 0.5392 GB, free: 76.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.447, allocations: 29.42 kB / 0.5392 GB, free: 76.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4471, allocations: 188 kB / 0.5394 GB, free: 76.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.4473, allocations: 142.8 kB / 0.5396 GB, free: 75.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.4473, allocations: 3.812 kB / 0.5396 GB, free: 75.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.4474, allocations: 351.6 kB / 0.5399 GB, free: 75.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.4478, allocations: 232.9 kB / 0.5401 GB, free: 75.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.4483, allocations: 273.3 kB / 0.5404 GB, free: 75.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/0.4491, allocations: 263.9 kB / 0.5406 GB, free: 75.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4491, allocations: 0 / 0.5406 GB, free: 75.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001851/0.451, allocations: 0.8144 MB / 0.5414 GB, free: 74.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.4511, allocations: 41.53 kB / 0.5415 GB, free: 74.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4511, allocations: 0 / 0.5415 GB, free: 74.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004292/0.4554, allocations: 0.7953 MB / 0.5422 GB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.4557, allocations: 62.2 kB / 0.5423 GB, free: 74.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.4579, allocations: 1.294 MB / 0.5436 GB, free: 72.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.4587, allocations: 67.69 kB / 0.5436 GB, free: 72.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.4588, allocations: 16 kB / 0.5436 GB, free: 72.89 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = false ) "Current tap position" type: Integer Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: varLoad.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real varTra.UB:VARIABLE(unit = "V" ) "Voltage at port B" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.varTra.tapChanger.tap,varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,$PRE.varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.furtherTapChangeTimeout,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003868/0.4592, allocations: 185.1 kB / 0.5438 GB, free: 72.7 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004499/0.4637, allocations: 1.301 MB / 0.5451 GB, free: 71.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.4639, allocations: 55.45 kB / 0.5451 GB, free: 71.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/0.4669, allocations: 1.136 MB / 0.5463 GB, free: 70.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.4669, allocations: 4 kB / 0.5463 GB, free: 70.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/0.4669, allocations: 0 / 0.5463 GB, free: 70.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4669, allocations: 7.938 kB / 0.5463 GB, free: 70.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009056/0.4679, allocations: 0.6246 MB / 0.5469 GB, free: 69.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4679, allocations: 0 / 0.5469 GB, free: 69.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.4681, allocations: 51.91 kB / 0.5469 GB, free: 69.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004221/0.4724, allocations: 0.842 MB / 0.5477 GB, free: 68.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.331e-05/0.4725, allocations: 8 kB / 0.5478 GB, free: 68.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00234/0.4748, allocations: 1.356 MB / 0.5491 GB, free: 67.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.4749, allocations: 4 kB / 0.5491 GB, free: 67.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.4779, allocations: 1.117 MB / 0.5502 GB, free: 66.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.4784, allocations: 200.4 kB / 0.5504 GB, free: 65.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.4785, allocations: 16 kB / 0.5504 GB, free: 65.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/0.4793, allocations: 76.62 kB / 0.5505 GB, free: 65.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.4795, allocations: 47.92 kB / 0.5505 GB, free: 65.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.4796, allocations: 23.95 kB / 0.5505 GB, free: 65.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002977/0.4799, allocations: 220.6 kB / 0.5507 GB, free: 65.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.212e-06/0.4799, allocations: 4 kB / 0.5507 GB, free: 65.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007523/0.4807, allocations: 127.8 kB / 0.5509 GB, free: 65.38 MB / 362.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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00318/0.4839, allocations: 1.701 MB / 0.5525 GB, free: 63.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.4859, allocations: 0.7801 MB / 0.5533 GB, free: 62.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.4859, allocations: 0 / 0.5533 GB, free: 62.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.4874, allocations: 0.6202 MB / 0.5539 GB, free: 62.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.4878, allocations: 35.27 kB / 0.5539 GB, free: 62.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.4898, allocations: 0.5902 MB / 0.5545 GB, free: 61.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.4901, allocations: 0.8165 MB / 0.5553 GB, free: 60.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002542/0.4903, allocations: 51.17 kB / 0.5553 GB, free: 60.67 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.4906, allocations: 135.4 kB / 0.5555 GB, free: 60.54 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.4906, allocations: 0 / 0.5555 GB, free: 60.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.5238, allocations: 11.7 MB / 0.5669 GB, free: 48.89 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/0.524, allocations: 153.5 kB / 0.567 GB, free: 48.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/2.777, allocations: 3.938 kB / 0.5671 GB, free: 48.69 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1)