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.001011/0.001012, allocations: 180.5 kB / 15.8 MB, free: 6.34 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.418/1.418, allocations: 223.2 MB / 239.7 MB, free: 1.797 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.0008527/0.0008526, allocations: 102.7 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04837/0.04837, allocations: 8.112 MB / 350.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 8.375 kB / 413.2 MB, free: 89.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 52.54 MB / 465.7 MB, free: 41.97 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/0.5047, allocations: 81.81 MB / 0.5347 GB, free: 16.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.505, allocations: 68.97 kB / 0.5347 GB, free: 16.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02626/0.5313, allocations: 10.19 MB / 0.5447 GB, free: 31.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5313, allocations: 4 kB / 0.5447 GB, free: 31.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.5313, allocations: 3.75 kB / 0.5447 GB, free: 31.27 MB / 378.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.002298/0.5336, allocations: 0.8367 MB / 0.5455 GB, free: 30.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5337, allocations: 7.812 kB / 0.5455 GB, free: 30.8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.813e-05/0.5338, allocations: 68.64 kB / 0.5456 GB, free: 30.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.606e-05/0.5339, allocations: 42.69 kB / 0.5456 GB, free: 30.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.5343, allocations: 299.4 kB / 0.5459 GB, free: 30.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.5345, allocations: 102 kB / 0.546 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.5346, allocations: 27.03 kB / 0.546 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.5361, allocations: 0.7322 MB / 0.5468 GB, free: 30.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5361, allocations: 0 / 0.5468 GB, free: 30.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.5361, allocations: 15.06 kB / 0.5468 GB, free: 30.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.5362, allocations: 7.719 kB / 0.5468 GB, free: 30.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000898/0.5371, allocations: 469.4 kB / 0.5472 GB, free: 30.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.5393, allocations: 1.624 MB / 0.5488 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.5407, allocations: 0.732 MB / 0.5495 GB, free: 29.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.236e-05/0.5408, allocations: 13.2 kB / 0.5495 GB, free: 29.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004272/0.5412, allocations: 276.8 kB / 0.5498 GB, free: 29.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.885e-06/0.5413, allocations: 7.922 kB / 0.5498 GB, free: 29.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.003264/0.5445, allocations: 1.198 MB / 0.551 GB, free: 29.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.5446, allocations: 144.4 kB / 0.5511 GB, free: 28.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.5448, allocations: 206.9 kB / 0.5513 GB, free: 28.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.5449, allocations: 36.8 kB / 0.5514 GB, free: 28.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.545, allocations: 158 kB / 0.5515 GB, free: 28.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-05/0.5451, allocations: 105.6 kB / 0.5516 GB, free: 28.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.5451, allocations: 11.25 kB / 0.5516 GB, free: 28.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5452, allocations: 337.6 kB / 0.5519 GB, free: 28.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.5455, allocations: 174.5 kB / 0.5521 GB, free: 28.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.5458, allocations: 297.2 kB / 0.5524 GB, free: 28.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.5461, allocations: 203 kB / 0.5526 GB, free: 28.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5461, allocations: 7.812 kB / 0.5526 GB, free: 28.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001213/0.5473, allocations: 0.6818 MB / 0.5533 GB, free: 28.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5473, allocations: 3.875 kB / 0.5533 GB, free: 28.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5474, allocations: 3.781 kB / 0.5533 GB, free: 28.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/0.5496, allocations: 445.5 kB / 0.5537 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.5499, allocations: 70.12 kB / 0.5538 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.5514, allocations: 0.8942 MB / 0.5546 GB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.5518, allocations: 40.22 kB / 0.5547 GB, free: 27.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.5518, allocations: 20.59 kB / 0.5547 GB, free: 27.42 MB / 378.7 MB 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 () * Number of clocked 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.0002263/0.5521, allocations: 158.7 kB / 0.5548 GB, free: 27.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007741/0.5529, allocations: 267.2 kB / 0.5551 GB, free: 27.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.554, allocations: 0.567 MB / 0.5556 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.554, allocations: 6.031 kB / 0.5556 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.554, allocations: 1.875 kB / 0.5556 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.554, allocations: 2.156 kB / 0.5557 GB, free: 27.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/0.5574, allocations: 1.52 MB / 0.5571 GB, free: 26.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5574, allocations: 1.469 kB / 0.5571 GB, free: 26.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.5578, allocations: 83.62 kB / 0.5572 GB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/0.5597, allocations: 443 kB / 0.5576 GB, free: 26.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.5598, allocations: 9.906 kB / 0.5576 GB, free: 26.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.5611, allocations: 0.888 MB / 0.5585 GB, free: 26.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5611, allocations: 3.875 kB / 0.5585 GB, free: 26.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.5637, allocations: 1.023 MB / 0.5595 GB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.5639, allocations: 117.4 kB / 0.5596 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.5639, allocations: 8.859 kB / 0.5596 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.5644, allocations: 51.12 kB / 0.5597 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.119e-05/0.5645, allocations: 31.86 kB / 0.5597 GB, free: 25.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.5645, allocations: 17.22 kB / 0.5597 GB, free: 25.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.5647, allocations: 176.1 kB / 0.5599 GB, free: 25.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5647, allocations: 0 / 0.5599 GB, free: 25.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005542/0.5653, allocations: 108.9 kB / 0.56 GB, free: 25.76 MB / 378.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * 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.003078/0.5684, allocations: 1.727 MB / 0.5617 GB, free: 24.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00195/0.5703, allocations: 0.6195 MB / 0.5623 GB, free: 24.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5703, allocations: 96 / 0.5623 GB, free: 24.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.5714, allocations: 315.6 kB / 0.5626 GB, free: 24.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008384/0.5723, allocations: 161.1 kB / 0.5628 GB, free: 24.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/0.579, allocations: 4.674 MB / 0.5673 GB, free: 21.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.5796, allocations: 0.791 MB / 0.5681 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.5798, allocations: 42.28 kB / 0.5681 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.5799, allocations: 98.55 kB / 0.5682 GB, free: 20.99 MB / 378.7 MB Notification: Performance of SimCode: time 2.575e-06/0.5799, allocations: 0 / 0.5682 GB, free: 20.99 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.6034, allocations: 8.153 MB / 0.5762 GB, free: 19.07 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.6037, allocations: 191.8 kB / 0.5764 GB, free: 18.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.95, allocations: 1.375 kB / 0.5764 GB, free: 18.83 MB / 378.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)