Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.DegradedModeForLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.DegradedModeForLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads",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.001079/0.00108, allocations: 175.5 kB / 8.047 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.44/1.44, allocations: 221.5 MB / 230 MB, free: 7.531 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.001166/0.001166, allocations: 97.3 kB / 280.9 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05046/0.05046, allocations: 8.101 MB / 339.8 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.432e-05, allocations: 3.25 kB / 398.6 MB, free: 49.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 52.52 MB / 451.1 MB, free: 5.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1035/0.2139, allocations: 79.06 MB / 0.5177 GB, free: 6.129 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.2141, allocations: 59.97 kB / 0.5178 GB, free: 6.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2668/0.481, allocations: 6.308 MB / 0.5239 GB, free: 78.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.481, allocations: 0 / 0.5239 GB, free: 78.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.4811, allocations: 3.156 kB / 0.5239 GB, free: 78.37 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001262/0.4823, allocations: 0.5421 MB / 0.5245 GB, free: 78.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4824, allocations: 17.31 kB / 0.5245 GB, free: 78.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.4824, allocations: 28.39 kB / 0.5245 GB, free: 78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.4827, allocations: 223.1 kB / 0.5247 GB, free: 77.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-05/0.4828, allocations: 65.44 kB / 0.5248 GB, free: 77.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.4828, allocations: 6.75 kB / 0.5248 GB, free: 77.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000299/0.4831, allocations: 184.6 kB / 0.525 GB, free: 77.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.4834, allocations: 204.8 kB / 0.5252 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4834, allocations: 6.578 kB / 0.5252 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.4834, allocations: 1.359 kB / 0.5252 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4835, allocations: 5.094 kB / 0.5252 GB, free: 77.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.4849, allocations: 0.9349 MB / 0.5261 GB, free: 77.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.4854, allocations: 214.1 kB / 0.5263 GB, free: 77.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.4855, allocations: 103.2 kB / 0.5264 GB, free: 77.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.4856, allocations: 3.922 kB / 0.5264 GB, free: 77.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.4859, allocations: 159.3 kB / 0.5265 GB, free: 77.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.4859, allocations: 3.469 kB / 0.5266 GB, free: 77.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009726/0.4868, allocations: 356.6 kB / 0.5269 GB, free: 77.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.4869, allocations: 55.41 kB / 0.5269 GB, free: 77.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.4871, allocations: 160.8 kB / 0.5271 GB, free: 77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.4871, allocations: 34.67 kB / 0.5271 GB, free: 76.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.4872, allocations: 132.8 kB / 0.5273 GB, free: 76.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.4872, allocations: 67.83 kB / 0.5273 GB, free: 76.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.4872, allocations: 0 / 0.5273 GB, free: 76.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.992e-05/0.4873, allocations: 330.6 kB / 0.5276 GB, free: 76.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.4874, allocations: 99.5 kB / 0.5277 GB, free: 76.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.4876, allocations: 142.2 kB / 0.5279 GB, free: 76.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.4879, allocations: 115.9 kB / 0.528 GB, free: 76.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4879, allocations: 1.906 kB / 0.528 GB, free: 76.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008659/0.4887, allocations: 409.9 kB / 0.5284 GB, free: 76.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4888, allocations: 5.312 kB / 0.5284 GB, free: 76.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4888, allocations: 1.031 kB / 0.5284 GB, free: 76.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006666/0.4894, allocations: 174.2 kB / 0.5285 GB, free: 76.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.4896, allocations: 36.62 kB / 0.5286 GB, free: 76.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006083/0.4902, allocations: 0.7385 MB / 0.5293 GB, free: 75.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.4904, allocations: 16.69 kB / 0.5293 GB, free: 75.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.4905, allocations: 10.64 kB / 0.5293 GB, free: 75.86 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.load.degradedMode,load.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.4906, allocations: 111 kB / 0.5294 GB, free: 75.75 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000866/0.4915, allocations: 370.3 kB / 0.5298 GB, free: 75.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.4915, allocations: 16.47 kB / 0.5298 GB, free: 75.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008302/0.4924, allocations: 379.3 kB / 0.5302 GB, free: 75.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4924, allocations: 4.312 kB / 0.5302 GB, free: 75.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4924, allocations: 0 / 0.5302 GB, free: 75.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4924, allocations: 5.188 kB / 0.5302 GB, free: 75.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.4927, allocations: 324.4 kB / 0.5305 GB, free: 75.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4927, allocations: 0 / 0.5305 GB, free: 75.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.4929, allocations: 21.39 kB / 0.5305 GB, free: 75.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000607/0.4935, allocations: 169.5 kB / 0.5307 GB, free: 75.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.4935, allocations: 5.625 kB / 0.5307 GB, free: 75.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005603/0.4941, allocations: 0.7379 MB / 0.5314 GB, free: 74.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4941, allocations: 0 / 0.5314 GB, free: 74.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007596/0.4949, allocations: 376 kB / 0.5317 GB, free: 74.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.901e-05/0.4949, allocations: 104.9 kB / 0.5318 GB, free: 74.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.495, allocations: 3.344 kB / 0.5319 GB, free: 74.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.4952, allocations: 10.78 kB / 0.5319 GB, free: 74.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.4952, allocations: 18.47 kB / 0.5319 GB, free: 74.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.4952, allocations: 8.281 kB / 0.5319 GB, free: 74.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.694e-05/0.4953, allocations: 133.7 kB / 0.532 GB, free: 74.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4953, allocations: 1.438 kB / 0.532 GB, free: 74.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002912/0.4956, allocations: 48.27 kB / 0.5321 GB, free: 74.64 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: 2 ($whenCondition1,load.degradedMode) * Number of discrete states: 1 (load.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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 {3 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009479/0.4966, allocations: 0.9248 MB / 0.533 GB, free: 74.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006187/0.4972, allocations: 256.8 kB / 0.5332 GB, free: 74.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4972, allocations: 1.062 kB / 0.5332 GB, free: 74.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.4976, allocations: 144.2 kB / 0.5333 GB, free: 74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.4978, allocations: 18.98 kB / 0.5334 GB, free: 73.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/0.4986, allocations: 289.8 kB / 0.5336 GB, free: 73.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.4988, allocations: 0.7289 MB / 0.5344 GB, free: 73.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.4989, allocations: 28.36 kB / 0.5344 GB, free: 73.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.499, allocations: 55.19 kB / 0.5344 GB, free: 73.13 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.499, allocations: 0.7812 kB / 0.5344 GB, free: 73.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.5241, allocations: 4.528 MB / 0.5389 GB, free: 72.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001342/0.5243, allocations: 123.5 kB / 0.539 GB, free: 72.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.191, allocations: 4.438 kB / 0.539 GB, free: 72.71 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads_fmu --startTime=0 --stopTime=400 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads.fmu > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1)