Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom,fileNamePrefix="OpenIPSL_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.001009/0.001009, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.184/1.184, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008912/0.0008911, allocations: 88.84 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4101/0.4101, allocations: 78.02 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.709e-05, allocations: 4 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 69.34 MB / 0.548 GB, free: 20.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4008, allocations: 103.6 MB / 0.6493 GB, free: 12.76 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.4011, allocations: 71.97 kB / 0.6493 GB, free: 12.69 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4302/0.8313, allocations: 73.56 MB / 0.7212 GB, free: 87.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.8314, allocations: 0 / 0.7212 GB, free: 87.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001684/0.8315, allocations: 59.94 kB / 0.7212 GB, free: 87.05 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.006987/0.8385, allocations: 3.487 MB / 0.7246 GB, free: 83.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.8386, allocations: 11.97 kB / 0.7246 GB, free: 83.46 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003081/0.8389, allocations: 274 kB / 0.7249 GB, free: 83.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006068/0.845, allocations: 1.19 MB / 0.7261 GB, free: 81.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00295/0.8479, allocations: 1.814 MB / 0.7278 GB, free: 80.12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003512/0.8483, allocations: 0.4906 MB / 0.7283 GB, free: 79.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/0.8486, allocations: 195.9 kB / 0.7285 GB, free: 79.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003353/0.852, allocations: 2.226 MB / 0.7307 GB, free: 77.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.852, allocations: 0 / 0.7307 GB, free: 77.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.8522, allocations: 76 kB / 0.7307 GB, free: 77.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.8523, allocations: 48 kB / 0.7308 GB, free: 77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.8552, allocations: 2.026 MB / 0.7328 GB, free: 74.97 MB / 490.7 MB 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.01295/0.8682, allocations: 9.23 MB / 0.7418 GB, free: 65.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008244/0.8764, allocations: 4.801 MB / 0.7465 GB, free: 60.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.8781, allocations: 1.343 MB / 0.7478 GB, free: 58.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/0.8783, allocations: 42.19 kB / 0.7478 GB, free: 58.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002068/0.8804, allocations: 1.62 MB / 0.7494 GB, free: 57.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 3.747e-06/0.8804, allocations: 0 / 0.7494 GB, free: 57.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=245): time 0.01996/0.9004, allocations: 7.581 MB / 0.7568 GB, free: 49.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.9005, allocations: 239.7 kB / 0.757 GB, free: 49.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003714/0.9042, allocations: 2.151 MB / 0.7591 GB, free: 47.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005255/0.9048, allocations: 65.7 kB / 0.7592 GB, free: 47.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008895/0.9057, allocations: 1.225 MB / 0.7604 GB, free: 45.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.9068, allocations: 0.847 MB / 0.7612 GB, free: 45.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.9071, allocations: 52 kB / 0.7613 GB, free: 44.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.9073, allocations: 399 kB / 0.7616 GB, free: 44.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.9093, allocations: 1.095 MB / 0.7627 GB, free: 43.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.9113, allocations: 1.366 MB / 0.7641 GB, free: 42.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.9134, allocations: 1.362 MB / 0.7654 GB, free: 40.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.9134, allocations: 4 kB / 0.7654 GB, free: 40.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01868/0.9321, allocations: 7.303 MB / 0.7725 GB, free: 33.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.937e-05/0.9323, allocations: 174.2 kB / 0.7727 GB, free: 33.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.9323, allocations: 4 kB / 0.7727 GB, free: 33.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009165/0.9415, allocations: 2.934 MB / 0.7756 GB, free: 30.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/0.9439, allocations: 459.4 kB / 0.776 GB, free: 29.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02619/0.9701, allocations: 16.11 MB / 0.7917 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003612/0.9738, allocations: 441.7 kB / 0.7921 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004849/0.9743, allocations: 87.97 kB / 0.7922 GB, free: 12.56 MB / 490.7 MB 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.0007154/0.975, allocations: 328.4 kB / 0.7925 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007604/0.9758, allocations: 316.1 kB / 0.7928 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02024/0.996, allocations: 7.867 MB / 0.8005 GB, free: 3.988 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.9961, allocations: 27.98 kB / 0.8006 GB, free: 3.961 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.9961, allocations: 4 kB / 0.8006 GB, free: 3.957 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.732e-05/0.9961, allocations: 11.95 kB / 0.8006 GB, free: 3.945 MB / 490.7 MB 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.02902/1.025, allocations: 12.33 MB / 0.8126 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/1.025, allocations: 0 / 0.8126 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/1.027, allocations: 239.6 kB / 0.8128 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01071/1.037, allocations: 3.365 MB / 0.8161 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004933/1.038, allocations: 55.98 kB / 0.8162 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03203/1.07, allocations: 17.89 MB / 0.8337 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.07, allocations: 4 kB / 0.8337 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02546/1.096, allocations: 9.547 MB / 0.843 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.097, allocations: 468.5 kB / 0.8434 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009106/1.098, allocations: 55.95 kB / 0.8435 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002989/1.101, allocations: 287.7 kB / 0.8438 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001352/1.102, allocations: 406 kB / 0.8441 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002868/1.102, allocations: 67.98 kB / 0.8442 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002826/1.105, allocations: 1.643 MB / 0.8458 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/1.105, allocations: 0 / 0.8458 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003266/1.108, allocations: 1.003 MB / 0.8468 GB, free: 3.668 MB / 0.5261 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.02744/1.136, allocations: 10.41 MB / 0.857 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.146, allocations: 4.739 MB / 0.8616 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.146, allocations: 0 / 0.8616 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008064/1.154, allocations: 3.581 MB / 0.8651 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/1.156, allocations: 257.7 kB / 0.8653 GB, free: 404 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.166, allocations: 5.141 MB / 0.8703 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/1.168, allocations: 1.9 MB / 0.8722 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001115/1.169, allocations: 228.8 kB / 0.8724 GB, free: 9.027 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001797/1.171, allocations: 1.253 MB / 0.8736 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/1.171, allocations: 0 / 0.8736 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3705/1.541, allocations: 76.1 MB / 0.948 GB, free: 153.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001172/1.542, allocations: 174.2 kB / 0.9481 GB, free: 152.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.509/6.051, allocations: 0 / 0.9481 GB, free: 152.9 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_Statcom.fmu > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses_Statcom.pipe 2>&1)