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.0009451/0.000945, allocations: 174.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.000858/0.000858, allocations: 83.97 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0648/0.0648, allocations: 12.19 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2758/0.2758, allocations: 78.05 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.608e-05, allocations: 4 kB / 0.5142 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 69.24 MB / 0.5819 GB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4674/0.5819, allocations: 104.6 MB / 0.684 GB, free: 4.379 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.5822, allocations: 67.22 kB / 0.684 GB, free: 4.348 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1791/0.7613, allocations: 70.88 MB / 0.7533 GB, free: 8.129 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7614, allocations: 0 / 0.7533 GB, free: 8.129 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000174/0.7616, allocations: 64 kB / 0.7533 GB, free: 8.066 MB / 490.7 MB 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.00806/0.7696, allocations: 3.487 MB / 0.7567 GB, free: 4.484 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7697, allocations: 12.03 kB / 0.7567 GB, free: 4.473 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006604/0.7763, allocations: 1.19 MB / 0.7579 GB, free: 3.277 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/0.7796, allocations: 1.798 MB / 0.7596 GB, free: 1.418 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004177/0.78, allocations: 442.4 kB / 0.7601 GB, free: 0.918 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002857/0.7803, allocations: 119.9 kB / 0.7602 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003196/0.7835, allocations: 1.921 MB / 0.7621 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/0.7868, allocations: 1.957 MB / 0.764 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.7868, allocations: 3.938 kB / 0.764 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.787, allocations: 3.984 kB / 0.764 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.787, allocations: 48 kB / 0.764 GB, free: 12.84 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.01576/0.8028, allocations: 8.908 MB / 0.7727 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009357/0.8122, allocations: 4.698 MB / 0.7773 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002297/0.8145, allocations: 1.284 MB / 0.7786 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002456/0.8148, allocations: 46.19 kB / 0.7786 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002467/0.8173, allocations: 1.529 MB / 0.7801 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=245): time 4.568e-06/0.8173, allocations: 0 / 0.7801 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=245): time 0.02282/0.8401, allocations: 7.322 MB / 0.7873 GB, free: 4.379 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.8403, allocations: 239.6 kB / 0.7875 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00353/0.8438, allocations: 1.955 MB / 0.7894 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005858/0.8444, allocations: 29.7 kB / 0.7894 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009666/0.8454, allocations: 1.205 MB / 0.7906 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009815/0.8464, allocations: 0.8121 MB / 0.7914 GB, free: 52 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.8465, allocations: 4 kB / 0.7914 GB, free: 48 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.8468, allocations: 399.1 kB / 0.7918 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.8485, allocations: 1.048 MB / 0.7928 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.8505, allocations: 1.295 MB / 0.7941 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.8524, allocations: 1.16 MB / 0.7952 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.8524, allocations: 0 / 0.7952 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01996/0.8724, allocations: 6.918 MB / 0.802 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.8726, allocations: 170.2 kB / 0.8021 GB, free: 4.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.8726, allocations: 8 kB / 0.8021 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009941/0.8825, allocations: 2.79 MB / 0.8048 GB, free: 2.062 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/0.8853, allocations: 463.4 kB / 0.8053 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02937/0.9147, allocations: 15.59 MB / 0.8205 GB, free: 1.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004144/0.9189, allocations: 377.8 kB / 0.8209 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005521/0.9194, allocations: 87.97 kB / 0.821 GB, free: 1.18 MB / 0.5417 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.0007312/0.9202, allocations: 233.3 kB / 0.8212 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02276/0.9429, allocations: 7.337 MB / 0.8283 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001568/0.9446, allocations: 312.1 kB / 0.8286 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02278/0.9674, allocations: 7.533 MB / 0.836 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/0.9674, allocations: 31.95 kB / 0.836 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.9675, allocations: 0 / 0.836 GB, free: 1.648 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.575e-05/0.9675, allocations: 15.94 kB / 0.836 GB, free: 1.633 MB / 0.5573 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.02849/0.996, allocations: 11.8 MB / 0.8476 GB, free: 5.629 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.9961, allocations: 0 / 0.8476 GB, free: 5.629 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.9976, allocations: 239.8 kB / 0.8478 GB, free: 5.395 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/1.008, allocations: 3.326 MB / 0.851 GB, free: 2.055 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003977/1.009, allocations: 19.98 kB / 0.8511 GB, free: 2.035 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3369/1.346, allocations: 17.5 MB / 0.8681 GB, free: 147.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.346, allocations: 1.781 kB / 0.8681 GB, free: 147.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02688/1.373, allocations: 9.239 MB / 0.8772 GB, free: 147 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/1.374, allocations: 458.8 kB / 0.8776 GB, free: 146.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005697/1.375, allocations: 13 kB / 0.8776 GB, free: 146.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/1.378, allocations: 254.6 kB / 0.8779 GB, free: 146.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001572/1.379, allocations: 393.5 kB / 0.8782 GB, free: 146.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002133/1.379, allocations: 71.48 kB / 0.8783 GB, free: 146.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002654/1.382, allocations: 1.461 MB / 0.8797 GB, free: 146.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/1.382, allocations: 1.125 kB / 0.8797 GB, free: 146.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003935/1.386, allocations: 0.9021 MB / 0.8806 GB, free: 146.6 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 () * 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.02459/1.411, allocations: 10.05 MB / 0.8904 GB, free: 145.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009185/1.42, allocations: 4.566 MB / 0.8949 GB, free: 144.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.42, allocations: 3.531 kB / 0.8949 GB, free: 144.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007444/1.427, allocations: 3.444 MB / 0.8983 GB, free: 143.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/1.429, allocations: 222.6 kB / 0.8985 GB, free: 143.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00863/1.438, allocations: 4.935 MB / 0.9033 GB, free: 141.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/1.439, allocations: 1.892 MB / 0.9051 GB, free: 140.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008793/1.44, allocations: 224.9 kB / 0.9053 GB, free: 140.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.441, allocations: 1.244 MB / 0.9066 GB, free: 139.2 MB / 0.573 GB Notification: Performance of SimCode: time 4.71e-07/1.441, allocations: 0.9375 kB / 0.9066 GB, free: 139.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/1.547, allocations: 71.28 MB / 0.9762 GB, free: 92.32 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/1.547, allocations: 134.1 kB / 0.9763 GB, free: 92.13 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.198/6.745, allocations: 0 / 0.9763 GB, free: 92.13 MB / 0.573 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)