Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.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,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",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.00148/0.00148, allocations: 180.7 kB / 7.649 MB, free: 1.395 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.279/1.279, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.000906/0.000906, allocations: 97.67 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4672/0.4672, allocations: 78.12 MB / 409.4 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.864e-05, allocations: 7.938 kB / 485.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 69.36 MB / 0.5414 GB, free: 6.832 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3691/0.4904, allocations: 101.6 MB / 0.6406 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.4907, allocations: 71.97 kB / 0.6407 GB, free: 13.99 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1844/0.6751, allocations: 70.48 MB / 0.7095 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6751, allocations: 4 kB / 0.7095 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002755/0.6754, allocations: 56 kB / 0.7096 GB, free: 7.27 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: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.009305/0.6847, allocations: 3.342 MB / 0.7128 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.6847, allocations: 8.031 kB / 0.7128 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007226/0.692, allocations: 1.183 MB / 0.714 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004118/0.6961, allocations: 1.745 MB / 0.7157 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/0.6966, allocations: 400.6 kB / 0.7161 GB, free: 392 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006455/0.6973, allocations: 115.9 kB / 0.7162 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003924/0.7012, allocations: 1.866 MB / 0.718 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003286/0.7045, allocations: 1.885 MB / 0.7199 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.7046, allocations: 3.938 kB / 0.7199 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.7047, allocations: 3.984 kB / 0.7199 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/0.7048, allocations: 47.95 kB / 0.7199 GB, free: 12.43 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.01459/0.7194, allocations: 8.591 MB / 0.7283 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008812/0.7282, allocations: 4.486 MB / 0.7327 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/0.7302, allocations: 1.241 MB / 0.7339 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.7304, allocations: 34.81 kB / 0.7339 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0022/0.7326, allocations: 1.466 MB / 0.7354 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=236): time 5.51e-06/0.7326, allocations: 3.984 kB / 0.7354 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=236): time 0.02153/0.7542, allocations: 7.118 MB / 0.7423 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.7543, allocations: 235.6 kB / 0.7425 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.7573, allocations: 1.859 MB / 0.7444 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005203/0.7578, allocations: 37.69 kB / 0.7444 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/0.7588, allocations: 1.146 MB / 0.7455 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/0.7599, allocations: 0.789 MB / 0.7463 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.7601, allocations: 0.5625 kB / 0.7463 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.7603, allocations: 398.8 kB / 0.7467 GB, free: 336 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/0.7623, allocations: 1.013 MB / 0.7476 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.7641, allocations: 1.257 MB / 0.7489 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.7661, allocations: 1.138 MB / 0.75 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/0.7661, allocations: 4 kB / 0.75 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01894/0.785, allocations: 6.41 MB / 0.7562 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.7852, allocations: 170.2 kB / 0.7564 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.7852, allocations: 4.562 kB / 0.7564 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/0.7952, allocations: 2.707 MB / 0.7591 GB, free: 3.391 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/0.7978, allocations: 475.3 kB / 0.7595 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2964/1.094, allocations: 16.09 MB / 0.7752 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/1.098, allocations: 360.1 kB / 0.7756 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003705/1.098, allocations: 82.95 kB / 0.7757 GB, free: 113.3 MB / 0.5573 GB Warning: Assuming fixed start value for the following 9 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 gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" ) "d-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: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {4 2,30 32,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005746/1.099, allocations: 253.3 kB / 0.7759 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02021/1.119, allocations: 7.132 MB / 0.7829 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.12, allocations: 293.7 kB / 0.7831 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02022/1.14, allocations: 7.295 MB / 0.7903 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/1.14, allocations: 28.97 kB / 0.7903 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-05/1.14, allocations: 4.453 kB / 0.7903 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.145e-05/1.141, allocations: 12.45 kB / 0.7903 GB, free: 112.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.02583/1.166, allocations: 11.05 MB / 0.8011 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/1.166, allocations: 2.078 kB / 0.8011 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/1.168, allocations: 232.6 kB / 0.8013 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01104/1.179, allocations: 3.232 MB / 0.8045 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004742/1.179, allocations: 19.98 kB / 0.8045 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03144/1.211, allocations: 16.99 MB / 0.8211 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.211, allocations: 1.125 kB / 0.8211 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02145/1.232, allocations: 8.995 MB / 0.8299 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.233, allocations: 447.4 kB / 0.8303 GB, free: 101 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005263/1.234, allocations: 6.906 kB / 0.8303 GB, free: 101 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002351/1.236, allocations: 238.1 kB / 0.8305 GB, free: 101 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00126/1.238, allocations: 380.5 kB / 0.8309 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.238, allocations: 63 kB / 0.831 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001822/1.24, allocations: 1.386 MB / 0.8323 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.24, allocations: 0 / 0.8323 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00273/1.242, allocations: 0.8484 MB / 0.8331 GB, free: 100.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (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: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * 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 {41 45,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0217/1.264, allocations: 9.799 MB / 0.8427 GB, free: 96.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008739/1.273, allocations: 4.792 MB / 0.8474 GB, free: 94.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.273, allocations: 0.8438 kB / 0.8474 GB, free: 94.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006843/1.28, allocations: 3.359 MB / 0.8507 GB, free: 92.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/1.281, allocations: 216.3 kB / 0.8509 GB, free: 92.64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007872/1.289, allocations: 4.648 MB / 0.8554 GB, free: 90.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.29, allocations: 1.841 MB / 0.8572 GB, free: 89.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008727/1.291, allocations: 213.4 kB / 0.8574 GB, free: 89.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/1.292, allocations: 1.157 MB / 0.8585 GB, free: 88.79 MB / 0.5573 GB Notification: Performance of SimCode: time 1.633e-06/1.293, allocations: 0 / 0.8585 GB, free: 88.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.393, allocations: 67.98 MB / 0.9249 GB, free: 39.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001188/1.393, allocations: 123 kB / 0.925 GB, free: 39.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.421/5.813, allocations: 4.031 kB / 0.9251 GB, free: 39.59 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)