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.001466/0.001466, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 221.5 MB / 229.6 MB, free: 7.609 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.001015/0.001015, allocations: 93.88 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4552/0.4552, allocations: 78.12 MB / 409.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.734e-05, allocations: 7.875 kB / 485.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1209, allocations: 69.35 MB / 0.5414 GB, free: 6.875 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3829/0.5038, allocations: 103 MB / 0.642 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.5041, allocations: 76.8 kB / 0.642 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1888/0.693, allocations: 72.75 MB / 0.7131 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.303e-06/0.693, allocations: 4 kB / 0.7131 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002117/0.6932, allocations: 56 kB / 0.7131 GB, free: 3.691 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.009799/0.7031, allocations: 3.495 MB / 0.7165 GB, free: 104 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7031, allocations: 8.875 kB / 0.7166 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007776/0.7109, allocations: 1.194 MB / 0.7177 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004625/0.7156, allocations: 1.798 MB / 0.7195 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005394/0.7161, allocations: 434.4 kB / 0.7199 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004661/0.7166, allocations: 123.8 kB / 0.72 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003685/0.7203, allocations: 1.925 MB / 0.7219 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003619/0.7239, allocations: 1.957 MB / 0.7238 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.724, allocations: 0 / 0.7238 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.7242, allocations: 3.781 kB / 0.7238 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.7242, allocations: 44.75 kB / 0.7238 GB, free: 8.469 MB / 0.5261 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.01766/0.7419, allocations: 8.91 MB / 0.7325 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.752, allocations: 4.702 MB / 0.7371 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/0.7545, allocations: 1.276 MB / 0.7384 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.7547, allocations: 37.97 kB / 0.7384 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002665/0.7574, allocations: 1.529 MB / 0.7399 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=245): time 4.599e-06/0.7574, allocations: 0 / 0.7399 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245): time 0.02298/0.7804, allocations: 7.326 MB / 0.7471 GB, free: 32 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.7806, allocations: 238.1 kB / 0.7473 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/0.7839, allocations: 1.959 MB / 0.7492 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005323/0.7845, allocations: 25.7 kB / 0.7492 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009685/0.7854, allocations: 1.213 MB / 0.7504 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/0.7865, allocations: 0.8198 MB / 0.7512 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.7866, allocations: 0 / 0.7512 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.7868, allocations: 399.1 kB / 0.7516 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/0.7887, allocations: 1.044 MB / 0.7526 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/0.7907, allocations: 1.303 MB / 0.7539 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.7928, allocations: 1.156 MB / 0.755 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.7928, allocations: 4 kB / 0.755 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02044/0.8133, allocations: 6.91 MB / 0.7618 GB, free: 0.7227 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.8134, allocations: 166.2 kB / 0.7619 GB, free: 0.5234 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.8134, allocations: 7.938 kB / 0.7619 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2701/1.084, allocations: 2.784 MB / 0.7647 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/1.086, allocations: 462.6 kB / 0.7651 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02635/1.112, allocations: 15.58 MB / 0.7803 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003431/1.116, allocations: 379.4 kB / 0.7807 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/1.116, allocations: 88.22 kB / 0.7808 GB, free: 112.3 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.0005379/1.117, allocations: 245.7 kB / 0.781 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02074/1.137, allocations: 7.322 MB / 0.7881 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001316/1.139, allocations: 314.8 kB / 0.7884 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0215/1.16, allocations: 7.529 MB / 0.7958 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.003e-05/1.16, allocations: 24.81 kB / 0.7958 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.16, allocations: 2.25 kB / 0.7958 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.983e-05/1.161, allocations: 17.06 kB / 0.7958 GB, free: 111.4 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.02908/1.19, allocations: 11.8 MB / 0.8074 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-05/1.19, allocations: 1.781 kB / 0.8074 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.191, allocations: 246.1 kB / 0.8076 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01134/1.203, allocations: 3.33 MB / 0.8108 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005917/1.203, allocations: 21.42 kB / 0.8109 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02868/1.232, allocations: 17.5 MB / 0.828 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/1.232, allocations: 3.953 kB / 0.828 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02346/1.256, allocations: 9.24 MB / 0.837 GB, free: 98.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.257, allocations: 458.8 kB / 0.8374 GB, free: 97.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006383/1.257, allocations: 16.09 kB / 0.8374 GB, free: 97.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/1.26, allocations: 257.2 kB / 0.8377 GB, free: 97.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/1.261, allocations: 391.7 kB / 0.8381 GB, free: 97.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/1.261, allocations: 70.3 kB / 0.8381 GB, free: 97.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001895/1.263, allocations: 1.459 MB / 0.8395 GB, free: 97.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.263, allocations: 0 / 0.8395 GB, free: 97.24 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003156/1.266, allocations: 0.9045 MB / 0.8404 GB, free: 97.2 MB / 0.5573 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.02355/1.29, allocations: 10.05 MB / 0.8502 GB, free: 93.63 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009485/1.3, allocations: 4.568 MB / 0.8547 GB, free: 91.51 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.3, allocations: 5.281 kB / 0.8547 GB, free: 91.51 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007673/1.307, allocations: 3.451 MB / 0.8581 GB, free: 89.87 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/1.309, allocations: 205.7 kB / 0.8583 GB, free: 89.76 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/1.319, allocations: 4.943 MB / 0.8631 GB, free: 87.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/1.321, allocations: 1.893 MB / 0.865 GB, free: 86.79 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001112/1.322, allocations: 224.5 kB / 0.8652 GB, free: 86.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/1.323, allocations: 1.237 MB / 0.8664 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of SimCode: time 6.61e-07/1.323, allocations: 0 / 0.8664 GB, free: 85.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09724/1.42, allocations: 71.3 MB / 0.936 GB, free: 29.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001165/1.42, allocations: 132.8 kB / 0.9361 GB, free: 28.94 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.578/5.998, allocations: 0 / 0.9361 GB, free: 28.94 MB / 0.5573 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)