Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_dev_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.00147/0.00147, allocations: 169 kB / 7.646 MB, free: 1.426 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.264/1.264, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.001084/0.001084, allocations: 95.42 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4359/0.4359, allocations: 78.94 MB / 410.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.491e-05/1.495e-05, allocations: 0 / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 69.51 MB / 0.5425 GB, free: 5.805 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.4979, allocations: 103.7 MB / 0.6438 GB, free: 10.29 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4982, allocations: 72.8 kB / 0.6439 GB, free: 10.22 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1953/0.6935, allocations: 74.44 MB / 0.7166 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6935, allocations: 4 kB / 0.7166 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000338/0.6939, allocations: 56 kB / 0.7167 GB, free: 15.55 MB / 0.5261 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.01084/0.7047, allocations: 3.483 MB / 0.7201 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.7048, allocations: 12.03 kB / 0.7201 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007647/0.7124, allocations: 1.194 MB / 0.7212 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005513/0.718, allocations: 1.794 MB / 0.723 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005765/0.7186, allocations: 435.6 kB / 0.7234 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008306/0.7194, allocations: 127.8 kB / 0.7235 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004512/0.724, allocations: 1.917 MB / 0.7254 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004868/0.7288, allocations: 1.957 MB / 0.7273 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/0.7289, allocations: 4 kB / 0.7273 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/0.7293, allocations: 3.953 kB / 0.7273 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.7293, allocations: 44 kB / 0.7274 GB, free: 4.34 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.01928/0.7486, allocations: 8.988 MB / 0.7361 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.7588, allocations: 4.694 MB / 0.7407 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002586/0.7614, allocations: 1.272 MB / 0.742 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003497/0.7618, allocations: 42.19 kB / 0.742 GB, free: 4.742 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003344/0.7651, allocations: 1.537 MB / 0.7435 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=245): time 5.691e-06/0.7652, allocations: 0 / 0.7435 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245): time 0.02354/0.7887, allocations: 7.308 MB / 0.7506 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.7888, allocations: 235.6 kB / 0.7509 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003923/0.7928, allocations: 1.963 MB / 0.7528 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005668/0.7934, allocations: 33.69 kB / 0.7528 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.7945, allocations: 1.209 MB / 0.754 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.7957, allocations: 0.812 MB / 0.7548 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/0.7961, allocations: 0 / 0.7548 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002307/0.7964, allocations: 403.1 kB / 0.7552 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.7984, allocations: 1.036 MB / 0.7562 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.8006, allocations: 1.303 MB / 0.7575 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/0.8029, allocations: 1.153 MB / 0.7586 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.803, allocations: 4 kB / 0.7586 GB, free: 3.504 MB / 0.5573 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.2909/1.094, allocations: 6.897 MB / 0.7653 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.623e-05/1.094, allocations: 171.9 kB / 0.7655 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/1.094, allocations: 9.125 kB / 0.7655 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00934/1.103, allocations: 2.791 MB / 0.7682 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/1.106, allocations: 459.2 kB / 0.7687 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02572/1.132, allocations: 15.59 MB / 0.7839 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/1.135, allocations: 380 kB / 0.7842 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/1.136, allocations: 88.2 kB / 0.7843 GB, free: 110.5 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.0005545/1.136, allocations: 247.8 kB / 0.7846 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0224/1.159, allocations: 7.32 MB / 0.7917 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/1.16, allocations: 313 kB / 0.792 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/1.182, allocations: 7.532 MB / 0.7994 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-05/1.182, allocations: 26.06 kB / 0.7994 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.183, allocations: 1.781 kB / 0.7994 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.347e-05/1.183, allocations: 13.62 kB / 0.7994 GB, free: 109.3 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.02809/1.211, allocations: 11.8 MB / 0.8109 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.211, allocations: 1.688 kB / 0.8109 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/1.212, allocations: 232.9 kB / 0.8111 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009941/1.222, allocations: 3.344 MB / 0.8144 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003148/1.222, allocations: 30.69 kB / 0.8144 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02802/1.251, allocations: 17.5 MB / 0.8315 GB, free: 99.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.251, allocations: 7.781 kB / 0.8315 GB, free: 99 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.023/1.274, allocations: 9.218 MB / 0.8405 GB, free: 96.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.275, allocations: 457.4 kB / 0.841 GB, free: 95.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009503/1.276, allocations: 14.34 kB / 0.841 GB, free: 95.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003091/1.279, allocations: 262.9 kB / 0.8412 GB, free: 95.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/1.28, allocations: 397.2 kB / 0.8416 GB, free: 95.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003079/1.28, allocations: 65.52 kB / 0.8417 GB, free: 95.72 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002502/1.283, allocations: 1.462 MB / 0.8431 GB, free: 95.09 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/1.283, allocations: 0 / 0.8431 GB, free: 95.09 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003684/1.287, allocations: 0.899 MB / 0.844 GB, free: 95.05 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.02279/1.309, allocations: 10.01 MB / 0.8538 GB, free: 91.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009499/1.319, allocations: 4.566 MB / 0.8582 GB, free: 89.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.319, allocations: 0 / 0.8582 GB, free: 89.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007651/1.327, allocations: 3.438 MB / 0.8616 GB, free: 87.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.329, allocations: 223.4 kB / 0.8618 GB, free: 87.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.341, allocations: 4.932 MB / 0.8666 GB, free: 84.45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/1.342, allocations: 1.894 MB / 0.8685 GB, free: 82.97 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001096/1.343, allocations: 230 kB / 0.8687 GB, free: 82.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/1.345, allocations: 1.239 MB / 0.8699 GB, free: 81.68 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/1.345, allocations: 0 / 0.8699 GB, free: 81.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/1.447, allocations: 71.3 MB / 0.9395 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/1.447, allocations: 132.4 kB / 0.9396 GB, free: 23.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.5/5.947, allocations: 0 / 0.9396 GB, free: 23.15 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom.fmu > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)