Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_QfURegulation",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.0009461/0.000946, allocations: 180.9 kB / 8.049 MB, free: 1.027 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.469/1.469, allocations: 221.5 MB / 230 MB, free: 7.566 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.0008448/0.0008451, allocations: 89.14 kB / 280.9 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04702/0.04702, allocations: 8.112 MB / 339.8 MB, free: 6.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.822e-05, allocations: 2.75 kB / 398.6 MB, free: 49.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 52.52 MB / 451.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.2383, allocations: 81.08 MB / 0.5197 GB, free: 4.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.2386, allocations: 67.97 kB / 0.5198 GB, free: 4.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2569/0.4955, allocations: 10.03 MB / 0.5296 GB, free: 79.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.788e-06/0.4955, allocations: 0 / 0.5296 GB, free: 79.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.4956, allocations: 13.55 kB / 0.5296 GB, free: 79.12 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002351/0.4979, allocations: 0.7985 MB / 0.5303 GB, free: 78.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.498, allocations: 16.09 kB / 0.5304 GB, free: 78.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.4981, allocations: 41.44 kB / 0.5304 GB, free: 78.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.4986, allocations: 293.5 kB / 0.5307 GB, free: 78.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.4988, allocations: 95.66 kB / 0.5308 GB, free: 78.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.4989, allocations: 15.56 kB / 0.5308 GB, free: 78.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006355/0.4995, allocations: 351.1 kB / 0.5311 GB, free: 78.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008638/0.5004, allocations: 0.5317 MB / 0.5316 GB, free: 78.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5004, allocations: 4.969 kB / 0.5316 GB, free: 78.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.5004, allocations: 0.9688 kB / 0.5316 GB, free: 78.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.5005, allocations: 6.156 kB / 0.5316 GB, free: 78.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.5025, allocations: 1.565 MB / 0.5332 GB, free: 77.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008228/0.5033, allocations: 0.5571 MB / 0.5337 GB, free: 77.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.5037, allocations: 261.6 kB / 0.534 GB, free: 77.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.017e-05/0.5037, allocations: 14.8 kB / 0.534 GB, free: 77.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.5041, allocations: 244.8 kB / 0.5342 GB, free: 77.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.743e-06/0.5041, allocations: 0 / 0.5342 GB, free: 77.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001187/0.5053, allocations: 0.5607 MB / 0.5348 GB, free: 77.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.5054, allocations: 140.7 kB / 0.5349 GB, free: 76.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.5056, allocations: 206.2 kB / 0.5351 GB, free: 76.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.5056, allocations: 27.73 kB / 0.5351 GB, free: 76.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.5057, allocations: 160.9 kB / 0.5353 GB, free: 76.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.977e-05/0.5058, allocations: 95.11 kB / 0.5354 GB, free: 76.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.5058, allocations: 0 / 0.5354 GB, free: 76.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.646e-05/0.5059, allocations: 341.6 kB / 0.5357 GB, free: 76.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.5061, allocations: 162 kB / 0.5358 GB, free: 76.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.5064, allocations: 280.3 kB / 0.5361 GB, free: 76.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.5068, allocations: 212.8 kB / 0.5363 GB, free: 76.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.5069, allocations: 1.094 kB / 0.5363 GB, free: 76.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001505/0.5084, allocations: 0.6235 MB / 0.5369 GB, free: 76.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5084, allocations: 10.81 kB / 0.5369 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.5084, allocations: 3.656 kB / 0.5369 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/0.5103, allocations: 402.2 kB / 0.5373 GB, free: 76.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.5107, allocations: 76.52 kB / 0.5374 GB, free: 76.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.512, allocations: 0.9064 MB / 0.5383 GB, free: 75.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.5124, allocations: 30.78 kB / 0.5383 GB, free: 75.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.5124, allocations: 23.48 kB / 0.5383 GB, free: 75.51 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: varLoad.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002138/0.5127, allocations: 115.1 kB / 0.5384 GB, free: 75.4 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009818/0.5137, allocations: 0.5664 MB / 0.539 GB, free: 75.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.5137, allocations: 29.53 kB / 0.539 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009573/0.5147, allocations: 0.526 MB / 0.5395 GB, free: 74.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.5147, allocations: 7.828 kB / 0.5395 GB, free: 74.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5147, allocations: 4.031 kB / 0.5396 GB, free: 74.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5147, allocations: 7.672 kB / 0.5396 GB, free: 74.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.5171, allocations: 1.32 MB / 0.5408 GB, free: 74.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.5172, allocations: 0 / 0.5408 GB, free: 74.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.5175, allocations: 86.69 kB / 0.5409 GB, free: 74.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.5191, allocations: 402.6 kB / 0.5413 GB, free: 74.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.5191, allocations: 11.61 kB / 0.5413 GB, free: 74.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.5203, allocations: 0.9169 MB / 0.5422 GB, free: 73.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.5203, allocations: 3.906 kB / 0.5422 GB, free: 73.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.5222, allocations: 0.8972 MB / 0.5431 GB, free: 72.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.5223, allocations: 116.5 kB / 0.5432 GB, free: 72.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.5224, allocations: 0 / 0.5432 GB, free: 72.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.5228, allocations: 47.7 kB / 0.5433 GB, free: 72.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.5229, allocations: 19.81 kB / 0.5433 GB, free: 72.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.5229, allocations: 19.91 kB / 0.5433 GB, free: 72.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.523, allocations: 164.6 kB / 0.5435 GB, free: 72.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.523, allocations: 0 / 0.5435 GB, free: 72.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004624/0.5235, allocations: 91.09 kB / 0.5435 GB, free: 72.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002227/0.5257, allocations: 1.602 MB / 0.5451 GB, free: 70.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.5271, allocations: 0.534 MB / 0.5456 GB, free: 70.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5271, allocations: 0.9375 kB / 0.5456 GB, free: 70.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009377/0.5281, allocations: 292.4 kB / 0.5459 GB, free: 70.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.5286, allocations: 88.61 kB / 0.546 GB, free: 70.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.5306, allocations: 0.6342 MB / 0.5466 GB, free: 69.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.5308, allocations: 0.7772 MB / 0.5474 GB, free: 68.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.531, allocations: 47.25 kB / 0.5474 GB, free: 68.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.5311, allocations: 103.4 kB / 0.5475 GB, free: 68.39 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5311, allocations: 0 / 0.5475 GB, free: 68.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.5562, allocations: 7.331 MB / 0.5547 GB, free: 61.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.5565, allocations: 117.4 kB / 0.5548 GB, free: 60.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.58, allocations: 0 / 0.5548 GB, free: 60.9 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_QfURegulation_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_QfURegulation.fmu > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1)