Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.01026/0.01026, allocations: 170.1 kB / 15.11 MB, free: 5.973 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.374/1.374, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009458/0.0009457, allocations: 102.6 kB / 290.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5595/0.5595, allocations: 78.59 MB / 419.9 MB, free: 36.44 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004488, allocations: 12 kB / 499.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1616, allocations: 69.35 MB / 0.5559 GB, free: 1.758 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.6273, allocations: 103.7 MB / 0.6571 GB, free: 14.58 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.6276, allocations: 72.45 kB / 0.6572 GB, free: 14.54 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2215/0.8491, allocations: 73.67 MB / 0.7291 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8491, allocations: 0 / 0.7291 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003977/0.8495, allocations: 60.12 kB / 0.7292 GB, free: 4.98 MB / 0.5105 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.01461/0.8642, allocations: 4.224 MB / 0.7333 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.8642, allocations: 11.97 kB / 0.7333 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001281/0.8655, allocations: 274 kB / 0.7336 GB, free: 372 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008037/0.8736, allocations: 1.213 MB / 0.7348 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006424/0.88, allocations: 1.894 MB / 0.7366 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007175/0.8808, allocations: 0.4945 MB / 0.7371 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001047/0.8819, allocations: 195.9 kB / 0.7373 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008233/0.8901, allocations: 2.546 MB / 0.7398 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.419e-05/0.8902, allocations: 0 / 0.7398 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006405/0.8909, allocations: 75.98 kB / 0.7399 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.891, allocations: 48 kB / 0.7399 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006758/0.8977, allocations: 2.373 MB / 0.7422 GB, free: 7.371 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0237/0.9215, allocations: 9.229 MB / 0.7512 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.9336, allocations: 5.154 MB / 0.7563 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004107/0.934, allocations: 37.95 kB / 0.7563 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005233/0.9393, allocations: 1.916 MB / 0.7582 GB, free: 6.402 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=245): time 1.161e-05/0.9393, allocations: 4 kB / 0.7582 GB, free: 6.398 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245): time 0.09405/1.033, allocations: 22.21 MB / 0.7799 GB, free: 52 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/1.034, allocations: 235.6 kB / 0.7801 GB, free: 15.77 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005948/1.04, allocations: 2.271 MB / 0.7823 GB, free: 13.5 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009911/1.041, allocations: 69.7 kB / 0.7824 GB, free: 13.42 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/1.042, allocations: 1.21 MB / 0.7836 GB, free: 12.2 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001782/1.044, allocations: 0.8471 MB / 0.7844 GB, free: 11.34 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005628/1.045, allocations: 48 kB / 0.7844 GB, free: 11.29 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000289/1.045, allocations: 399.1 kB / 0.7848 GB, free: 10.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/1.048, allocations: 1.403 MB / 0.7862 GB, free: 9.492 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003516/1.052, allocations: 1.666 MB / 0.7878 GB, free: 7.75 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/1.055, allocations: 1.67 MB / 0.7894 GB, free: 6.02 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.055, allocations: 4 kB / 0.7894 GB, free: 6.016 MB / 0.573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.3567/1.412, allocations: 8.174 MB / 0.7974 GB, free: 121.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000139/1.412, allocations: 169.5 kB / 0.7976 GB, free: 121.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/1.412, allocations: 6.156 kB / 0.7976 GB, free: 121.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01256/1.425, allocations: 3.462 MB / 0.801 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002776/1.428, allocations: 465.5 kB / 0.8014 GB, free: 121.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04332/1.471, allocations: 20.13 MB / 0.8211 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/1.476, allocations: 436.6 kB / 0.8215 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006128/1.476, allocations: 87 kB / 0.8216 GB, free: 117.6 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: gen3.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "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 () * Number of clocked 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.001815/1.478, allocations: 0.5823 MB / 0.8221 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.479, allocations: 319.1 kB / 0.8225 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02413/1.503, allocations: 8.73 MB / 0.831 GB, free: 116.7 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.011e-05/1.504, allocations: 24.34 kB / 0.831 GB, free: 116.7 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/1.504, allocations: 4.422 kB / 0.831 GB, free: 116.7 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.983e-05/1.504, allocations: 15.97 kB / 0.831 GB, free: 116.7 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03353/1.537, allocations: 13.2 MB / 0.8439 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/1.537, allocations: 1.094 kB / 0.8439 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.539, allocations: 242.6 kB / 0.8441 GB, free: 114.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.014/1.553, allocations: 3.914 MB / 0.848 GB, free: 114.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008694/1.554, allocations: 59.31 kB / 0.848 GB, free: 114.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04439/1.598, allocations: 21.85 MB / 0.8694 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.598, allocations: 8.109 kB / 0.8694 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02811/1.626, allocations: 10.73 MB / 0.8798 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.628, allocations: 472.8 kB / 0.8803 GB, free: 100.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008222/1.629, allocations: 54.2 kB / 0.8803 GB, free: 100.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.632, allocations: 298.2 kB / 0.8806 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001686/1.634, allocations: 392.4 kB / 0.881 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/1.634, allocations: 74.41 kB / 0.8811 GB, free: 100.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003077/1.637, allocations: 1.743 MB / 0.8828 GB, free: 99.81 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.51e-07/1.637, allocations: 4 kB / 0.8828 GB, free: 99.81 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004294/1.641, allocations: 1.009 MB / 0.8838 GB, free: 99.68 MB / 0.573 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 () * Number of clocked 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.02842/1.67, allocations: 11.58 MB / 0.8951 GB, free: 95.74 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.682, allocations: 5.396 MB / 0.9003 GB, free: 93.48 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.682, allocations: 0 / 0.9003 GB, free: 93.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009854/1.692, allocations: 3.924 MB / 0.9042 GB, free: 91.18 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/1.695, allocations: 262.1 kB / 0.9044 GB, free: 90.95 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/1.713, allocations: 11.43 MB / 0.9156 GB, free: 80.01 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/1.715, allocations: 1.894 MB / 0.9174 GB, free: 78.53 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001382/1.716, allocations: 229.2 kB / 0.9177 GB, free: 78.38 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/1.718, allocations: 1.249 MB / 0.9189 GB, free: 77.23 MB / 0.573 GB Notification: Performance of SimCode: time 1.213e-06/1.718, allocations: 7.938 kB / 0.9189 GB, free: 77.23 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/1.832, allocations: 74.94 MB / 0.9921 GB, free: 14.28 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.832, allocations: 211.7 kB / 0.9923 GB, free: 14.04 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.26/7.092, allocations: 0 / 0.9923 GB, free: 14.04 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom.fmu > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)