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.001613/0.001613, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 221.4 MB / 235.1 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007951/0.0007951, allocations: 89.52 kB / 286.1 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04407/0.04407, allocations: 8.102 MB / 345.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.395e-05/2.398e-05, allocations: 0 / 405.6 MB, free: 61.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 52.52 MB / 458.1 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4701, allocations: 79.98 MB / 0.5254 GB, free: 6.055 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.4703, allocations: 64.03 kB / 0.5255 GB, free: 6.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01751/0.4879, allocations: 6.382 MB / 0.5317 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4879, allocations: 0.6562 kB / 0.5317 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.4879, allocations: 4 kB / 0.5317 GB, free: 0.8398 MB / 346.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.001299/0.4893, allocations: 0.5459 MB / 0.5323 GB, free: 284 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4893, allocations: 16.02 kB / 0.5323 GB, free: 268 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.888e-05/0.4894, allocations: 44 kB / 0.5323 GB, free: 224 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.4895, allocations: 27.75 kB / 0.5324 GB, free: 196 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.4898, allocations: 235.4 kB / 0.5326 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.4899, allocations: 70.28 kB / 0.5327 GB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.49, allocations: 11.38 kB / 0.5327 GB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.4903, allocations: 210.9 kB / 0.5329 GB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4904, allocations: 7.953 kB / 0.5329 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.4904, allocations: 6.562 kB / 0.5329 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4904, allocations: 8 kB / 0.5329 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.4907, allocations: 191.4 kB / 0.5331 GB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.4924, allocations: 0.9918 MB / 0.534 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.493, allocations: 235.9 kB / 0.5343 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.4931, allocations: 109.3 kB / 0.5344 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.4932, allocations: 4.188 kB / 0.5344 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.4935, allocations: 168.5 kB / 0.5345 GB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.923e-06/0.4935, allocations: 0 / 0.5345 GB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008953/0.4944, allocations: 359.1 kB / 0.5349 GB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4945, allocations: 55.41 kB / 0.5349 GB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.4947, allocations: 173.7 kB / 0.5351 GB, free: 13.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.4947, allocations: 37.06 kB / 0.5351 GB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.4948, allocations: 122.1 kB / 0.5352 GB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/0.4949, allocations: 78.39 kB / 0.5353 GB, free: 13.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.4949, allocations: 3.125 kB / 0.5353 GB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4951, allocations: 329.8 kB / 0.5356 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.4952, allocations: 99.19 kB / 0.5357 GB, free: 13.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.4954, allocations: 143.5 kB / 0.5359 GB, free: 13.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.4956, allocations: 104.9 kB / 0.536 GB, free: 13.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4956, allocations: 4 kB / 0.536 GB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008783/0.4965, allocations: 427.7 kB / 0.5364 GB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4965, allocations: 7.953 kB / 0.5364 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4965, allocations: 8.125 kB / 0.5364 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008907/0.4974, allocations: 188.1 kB / 0.5366 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4976, allocations: 39.91 kB / 0.5366 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006788/0.4983, allocations: 0.721 MB / 0.5373 GB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.4985, allocations: 22.72 kB / 0.5373 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.4985, allocations: 11.19 kB / 0.5373 GB, free: 12.03 MB / 362.7 MB 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.0001145/0.4987, allocations: 123.7 kB / 0.5375 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.4987, allocations: 19.8 kB / 0.5375 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006647/0.4994, allocations: 369.6 kB / 0.5378 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.4994, allocations: 4 kB / 0.5378 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4994, allocations: 3.984 kB / 0.5378 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4994, allocations: 0 / 0.5378 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.4998, allocations: 359.9 kB / 0.5382 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4998, allocations: 0 / 0.5382 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.4999, allocations: 23.98 kB / 0.5382 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007747/0.5007, allocations: 198.2 kB / 0.5384 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.5007, allocations: 7.688 kB / 0.5384 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006441/0.5014, allocations: 0.7309 MB / 0.5391 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5014, allocations: 0 / 0.5391 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.502, allocations: 361.3 kB / 0.5395 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.502, allocations: 100.8 kB / 0.5396 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.5021, allocations: 7.016 kB / 0.5396 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.5023, allocations: 15.3 kB / 0.5396 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.5023, allocations: 15.55 kB / 0.5396 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.5024, allocations: 11.56 kB / 0.5396 GB, free: 10.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.5025, allocations: 133.8 kB / 0.5397 GB, free: 9.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5025, allocations: 4 kB / 0.5397 GB, free: 9.961 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.5028, allocations: 54.81 kB / 0.5398 GB, free: 9.914 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 (16): * Single equations (assignments): 15 * 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.001005/0.5038, allocations: 0.9091 MB / 0.5407 GB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007155/0.5045, allocations: 284 kB / 0.541 GB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5046, allocations: 0 / 0.541 GB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003814/0.5049, allocations: 153.7 kB / 0.5411 GB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.5052, allocations: 20.56 kB / 0.5411 GB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008221/0.506, allocations: 311 kB / 0.5414 GB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.5063, allocations: 0.7292 MB / 0.5421 GB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.5064, allocations: 21.53 kB / 0.5421 GB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.5065, allocations: 55.03 kB / 0.5422 GB, free: 7.715 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5065, allocations: 3.938 kB / 0.5422 GB, free: 7.711 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.5247, allocations: 5.365 MB / 0.5474 GB, free: 2.48 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.5249, allocations: 165.7 kB / 0.5476 GB, free: 2.258 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.273, allocations: 4 kB / 0.5476 GB, free: 2.254 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)