Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.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,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008655/0.0008655, allocations: 95.09 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.093/0.093, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.294/0.294, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.62e-05/4.631e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1482, allocations: 69.25 MB / 0.5889 GB, free: 2.949 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5658/0.7141, allocations: 103.8 MB / 0.6903 GB, free: 12.53 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.7144, allocations: 74.39 kB / 0.6904 GB, free: 12.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1863/0.9008, allocations: 69.43 MB / 0.7582 GB, free: 1.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.9008, allocations: 0 / 0.7582 GB, free: 1.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004418/0.9013, allocations: 56 kB / 0.7583 GB, free: 1.445 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: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.01175/0.913, allocations: 3.349 MB / 0.7615 GB, free: 14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.9131, allocations: 11.98 kB / 0.7615 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001261/0.9144, allocations: 261.5 kB / 0.7618 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00809/0.9225, allocations: 1.182 MB / 0.7629 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005983/0.9285, allocations: 1.73 MB / 0.7646 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006355/0.9292, allocations: 468.5 kB / 0.7651 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.9302, allocations: 191.9 kB / 0.7653 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006096/0.9364, allocations: 2.142 MB / 0.7674 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.9364, allocations: 0 / 0.7674 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.9366, allocations: 72 kB / 0.7674 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.9367, allocations: 44 kB / 0.7675 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.9403, allocations: 1.963 MB / 0.7694 GB, free: 5.789 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.01761/0.958, allocations: 8.909 MB / 0.7781 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009447/0.9675, allocations: 4.579 MB / 0.7826 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002497/0.97, allocations: 1.308 MB / 0.7838 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.9703, allocations: 33.98 kB / 0.7839 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002777/0.973, allocations: 1.548 MB / 0.7854 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=236): time 5.951e-06/0.9731, allocations: 0 / 0.7854 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.02232/0.9954, allocations: 7.366 MB / 0.7926 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/0.9956, allocations: 235.6 kB / 0.7928 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003937/0.9995, allocations: 2.037 MB / 0.7948 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007316/1, allocations: 69.8 kB / 0.7949 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.001, allocations: 1.15 MB / 0.796 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001164/1.002, allocations: 0.824 MB / 0.7968 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/1.003, allocations: 48 kB / 0.7968 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002021/1.003, allocations: 398.9 kB / 0.7972 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/1.005, allocations: 1.051 MB / 0.7982 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/1.007, allocations: 1.322 MB / 0.7995 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/1.009, allocations: 1.336 MB / 0.8008 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.009, allocations: 4 kB / 0.8008 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01886/1.028, allocations: 6.789 MB / 0.8075 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.028, allocations: 174.3 kB / 0.8076 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.028, allocations: 11.94 kB / 0.8076 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/1.039, allocations: 2.793 MB / 0.8104 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/1.042, allocations: 475.4 kB / 0.8108 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02863/1.07, allocations: 16.65 MB / 0.8271 GB, free: 8.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/1.075, allocations: 409.9 kB / 0.8275 GB, free: 8.539 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006835/1.076, allocations: 91.91 kB / 0.8276 GB, free: 8.449 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.0007542/1.076, allocations: 327.7 kB / 0.8279 GB, free: 8.105 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/1.077, allocations: 308.2 kB / 0.8282 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02244/1.1, allocations: 7.603 MB / 0.8356 GB, free: 148 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.071e-05/1.1, allocations: 28 kB / 0.8356 GB, free: 120 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.1, allocations: 0 / 0.8356 GB, free: 120 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.049e-05/1.1, allocations: 11.95 kB / 0.8356 GB, free: 108 kB / 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.02975/1.13, allocations: 11.57 MB / 0.8469 GB, free: 4.309 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/1.13, allocations: 4 kB / 0.8469 GB, free: 4.305 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/1.132, allocations: 227.7 kB / 0.8471 GB, free: 4.082 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01116/1.143, allocations: 3.27 MB / 0.8503 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000748/1.144, allocations: 55.98 kB / 0.8504 GB, free: 0.7422 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4182/1.562, allocations: 17.36 MB / 0.8674 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.562, allocations: 2.062 kB / 0.8674 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02833/1.59, allocations: 9.297 MB / 0.8764 GB, free: 160.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.592, allocations: 445.5 kB / 0.8769 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009743/1.593, allocations: 48.91 kB / 0.8769 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003021/1.596, allocations: 278.9 kB / 0.8772 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001601/1.597, allocations: 375.2 kB / 0.8775 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/1.598, allocations: 66.23 kB / 0.8776 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003913/1.602, allocations: 1.546 MB / 0.8791 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.2e-07/1.602, allocations: 1.594 kB / 0.8791 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005042/1.607, allocations: 0.9581 MB / 0.88 GB, free: 160.3 MB / 0.5886 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.02766/1.634, allocations: 10.13 MB / 0.8899 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01014/1.644, allocations: 4.977 MB / 0.8948 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.645, allocations: 0 / 0.8948 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00763/1.652, allocations: 3.483 MB / 0.8982 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/1.655, allocations: 258.8 kB / 0.8984 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009515/1.664, allocations: 4.844 MB / 0.9032 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/1.665, allocations: 1.843 MB / 0.905 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009953/1.667, allocations: 217.5 kB / 0.9052 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/1.668, allocations: 1.159 MB / 0.9063 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.412e-06/1.668, allocations: 0 / 0.9063 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/1.78, allocations: 72.43 MB / 0.977 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/1.78, allocations: 178.7 kB / 0.9772 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.902/6.682, allocations: 4 kB / 0.9772 GB, free: 114.3 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)