Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001343/0.001344, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.2 MB / 218.5 MB, free: 9.152 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009421/0.0009422, allocations: 94.58 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07203/0.07203, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2963/0.2963, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.729e-05, allocations: 4 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1387, allocations: 69.25 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5165/0.6553, allocations: 105.2 MB / 0.6917 GB, free: 11.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.6557, allocations: 70.02 kB / 0.6918 GB, free: 11.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1908/0.8465, allocations: 71.68 MB / 0.7618 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.337e-06/0.8465, allocations: 0 / 0.7618 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001861/0.8467, allocations: 63.94 kB / 0.7618 GB, free: 13.77 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 476 * Number of variables: 476 Notification: Performance of Generate backend data structure: time 0.009173/0.8559, allocations: 3.487 MB / 0.7652 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/0.856, allocations: 11.98 kB / 0.7652 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000653/0.8567, allocations: 270 kB / 0.7655 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007069/0.8637, allocations: 1.198 MB / 0.7667 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004262/0.868, allocations: 1.806 MB / 0.7684 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005055/0.8685, allocations: 0.4906 MB / 0.7689 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003906/0.8689, allocations: 195.9 kB / 0.7691 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004147/0.8731, allocations: 2.226 MB / 0.7713 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.8732, allocations: 0 / 0.7713 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002219/0.8734, allocations: 79.98 kB / 0.7714 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.8734, allocations: 44 kB / 0.7714 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003488/0.8769, allocations: 2.018 MB / 0.7734 GB, free: 1.684 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/0.8945, allocations: 9.236 MB / 0.7824 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009843/0.9043, allocations: 4.806 MB / 0.7871 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002361/0.9068, allocations: 1.347 MB / 0.7884 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.907, allocations: 29.98 kB / 0.7884 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002651/0.9096, allocations: 1.618 MB / 0.79 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 4.088e-06/0.9097, allocations: 0 / 0.79 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=245): time 0.02309/0.9327, allocations: 7.584 MB / 0.7974 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.9329, allocations: 235.6 kB / 0.7976 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004604/0.9376, allocations: 2.151 MB / 0.7997 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006371/0.9382, allocations: 65.7 kB / 0.7998 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009913/0.9392, allocations: 1.229 MB / 0.801 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.9403, allocations: 0.847 MB / 0.8018 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.9405, allocations: 48 kB / 0.8019 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.9407, allocations: 407 kB / 0.8023 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.9427, allocations: 1.087 MB / 0.8033 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.9448, allocations: 1.37 MB / 0.8047 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.9469, allocations: 1.366 MB / 0.806 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.947, allocations: 0 / 0.806 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02066/0.9676, allocations: 7.303 MB / 0.8131 GB, free: 7.934 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.9678, allocations: 174.2 kB / 0.8133 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.9678, allocations: 4.562 kB / 0.8133 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009985/0.9778, allocations: 2.93 MB / 0.8162 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/0.9806, allocations: 467.4 kB / 0.8166 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03118/1.012, allocations: 16.1 MB / 0.8323 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004319/1.016, allocations: 433.8 kB / 0.8327 GB, free: 3.371 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004874/1.017, allocations: 95.92 kB / 0.8328 GB, free: 3.277 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {36 46,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006874/1.017, allocations: 323 kB / 0.8331 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000845/1.018, allocations: 320 kB / 0.8334 GB, free: 2.621 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02257/1.041, allocations: 7.859 MB / 0.8411 GB, free: 10.71 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/1.041, allocations: 28 kB / 0.8412 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.041, allocations: 0 / 0.8412 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.058e-05/1.041, allocations: 15.89 kB / 0.8412 GB, free: 10.66 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03117/1.072, allocations: 12.32 MB / 0.8532 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/1.072, allocations: 8.078 kB / 0.8532 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/1.074, allocations: 235.7 kB / 0.8534 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01125/1.085, allocations: 3.369 MB / 0.8567 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006933/1.086, allocations: 59.98 kB / 0.8568 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4217/1.508, allocations: 17.89 MB / 0.8742 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.508, allocations: 0 / 0.8742 GB, free: 160.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03424/1.542, allocations: 9.548 MB / 0.8836 GB, free: 160 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002694/1.545, allocations: 472.9 kB / 0.884 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002666/1.547, allocations: 55.36 kB / 0.8841 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004898/1.552, allocations: 295.7 kB / 0.8844 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002556/1.555, allocations: 394.1 kB / 0.8847 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007659/1.556, allocations: 68 kB / 0.8848 GB, free: 159.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.005619/1.561, allocations: 1.639 MB / 0.8864 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.41e-07/1.561, allocations: 4.812 kB / 0.8864 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007565/1.569, allocations: 1.014 MB / 0.8874 GB, free: 159.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 25 (sTATCOM3_1.simpleLagLim.state,gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {43 48,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03003/1.599, allocations: 10.39 MB / 0.8975 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01366/1.613, allocations: 4.744 MB / 0.9022 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/1.613, allocations: 0 / 0.9022 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01029/1.623, allocations: 3.571 MB / 0.9057 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004142/1.627, allocations: 268.2 kB / 0.9059 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/1.646, allocations: 5.161 MB / 0.911 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002623/1.648, allocations: 1.895 MB / 0.9128 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001646/1.65, allocations: 230 kB / 0.913 GB, free: 154.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/1.652, allocations: 1.248 MB / 0.9142 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of SimCode: time 2.595e-06/1.652, allocations: 0 / 0.9142 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1416/1.794, allocations: 76.09 MB / 0.9885 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/1.794, allocations: 187.6 kB / 0.9887 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.052/6.846, allocations: 0 / 0.9887 GB, free: 105.3 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)