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.001486/0.001486, allocations: 172.9 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008897/0.0008897, allocations: 79.41 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06676/0.06676, allocations: 12.2 MB / 321.5 MB, free: 1.191 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2867/0.2867, allocations: 78.06 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.567e-05, allocations: 4 kB / 0.5142 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1465, allocations: 69.24 MB / 0.5818 GB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5011/0.6477, allocations: 103.2 MB / 0.6826 GB, free: 5.438 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.648, allocations: 67.53 kB / 0.6827 GB, free: 5.406 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1742/0.8222, allocations: 68.64 MB / 0.7497 GB, free: 11.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.8222, allocations: 0 / 0.7497 GB, free: 11.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001829/0.8224, allocations: 56 kB / 0.7498 GB, free: 11.58 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.008389/0.8308, allocations: 3.341 MB / 0.753 GB, free: 8.148 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.8308, allocations: 12.03 kB / 0.753 GB, free: 8.137 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0067/0.8375, allocations: 1.174 MB / 0.7542 GB, free: 6.957 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003382/0.8409, allocations: 1.737 MB / 0.7559 GB, free: 5.156 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/0.8414, allocations: 400.6 kB / 0.7563 GB, free: 4.703 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.8417, allocations: 119.9 kB / 0.7564 GB, free: 4.586 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003375/0.8451, allocations: 1.866 MB / 0.7582 GB, free: 2.719 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/0.8485, allocations: 1.897 MB / 0.76 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/0.8485, allocations: 0 / 0.76 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.8487, allocations: 7.922 kB / 0.7601 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/0.8488, allocations: 44 kB / 0.7601 GB, free: 0.7461 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.01543/0.8642, allocations: 8.589 MB / 0.7685 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009215/0.8734, allocations: 4.489 MB / 0.7729 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001926/0.8754, allocations: 1.249 MB / 0.7741 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.8756, allocations: 41.91 kB / 0.7741 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002406/0.878, allocations: 1.462 MB / 0.7756 GB, free: 320 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=236): time 6.001e-06/0.878, allocations: 0 / 0.7756 GB, free: 320 kB / 0.4948 GB Notification: Performance of matching and sorting (n=236): time 0.02213/0.9002, allocations: 7.118 MB / 0.7825 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.9003, allocations: 231.6 kB / 0.7827 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/0.9039, allocations: 1.859 MB / 0.7845 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005656/0.9045, allocations: 29.69 kB / 0.7846 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009568/0.9054, allocations: 1.15 MB / 0.7857 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001147/0.9066, allocations: 0.789 MB / 0.7865 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.9067, allocations: 7.938 kB / 0.7865 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.9069, allocations: 398.9 kB / 0.7868 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.9087, allocations: 1.012 MB / 0.7878 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/0.9105, allocations: 1.255 MB / 0.7891 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.9123, allocations: 1.131 MB / 0.7902 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.9123, allocations: 0 / 0.7902 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01749/0.9298, allocations: 6.408 MB / 0.7964 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.93, allocations: 174.2 kB / 0.7966 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.93, allocations: 4 kB / 0.7966 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009638/0.9396, allocations: 2.707 MB / 0.7992 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/0.9421, allocations: 471.3 kB / 0.7997 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0261/0.9682, allocations: 16.12 MB / 0.8154 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.9718, allocations: 354 kB / 0.8158 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/0.9722, allocations: 87.97 kB / 0.8159 GB, free: 6.078 MB / 0.5417 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.0005849/0.9728, allocations: 251.3 kB / 0.8161 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0208/0.9936, allocations: 7.115 MB / 0.823 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/0.9949, allocations: 300.3 kB / 0.8233 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02133/1.016, allocations: 7.301 MB / 0.8305 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-05/1.016, allocations: 27.94 kB / 0.8305 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/1.016, allocations: 8.141 kB / 0.8305 GB, free: 7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.645e-05/1.016, allocations: 12.05 kB / 0.8305 GB, free: 6.988 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.02664/1.043, allocations: 11.05 MB / 0.8413 GB, free: 11.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.043, allocations: 3.984 kB / 0.8413 GB, free: 11.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/1.045, allocations: 227.8 kB / 0.8415 GB, free: 11.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01037/1.055, allocations: 3.223 MB / 0.8447 GB, free: 8.277 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004417/1.055, allocations: 23.97 kB / 0.8447 GB, free: 8.254 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02964/1.085, allocations: 17 MB / 0.8613 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.085, allocations: 0 / 0.8613 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2993/1.384, allocations: 8.99 MB / 0.8701 GB, free: 162.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.386, allocations: 435.1 kB / 0.8705 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/1.388, allocations: 14.58 kB / 0.8705 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003388/1.391, allocations: 241.9 kB / 0.8707 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001871/1.393, allocations: 378.4 kB / 0.8711 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004374/1.393, allocations: 62.84 kB / 0.8711 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003796/1.397, allocations: 1.385 MB / 0.8725 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/1.397, allocations: 0 / 0.8725 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005353/1.403, allocations: 0.8597 MB / 0.8733 GB, free: 162.4 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.0282/1.431, allocations: 9.787 MB / 0.8829 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01315/1.444, allocations: 4.796 MB / 0.8876 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.444, allocations: 4.562 kB / 0.8876 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.009549/1.454, allocations: 3.354 MB / 0.8909 GB, free: 159.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/1.457, allocations: 211.5 kB / 0.8911 GB, free: 159.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/1.471, allocations: 4.642 MB / 0.8956 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/1.473, allocations: 1.841 MB / 0.8974 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001199/1.474, allocations: 212.8 kB / 0.8976 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.476, allocations: 1.157 MB / 0.8987 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.332e-06/1.476, allocations: 0 / 0.8987 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/1.596, allocations: 67.96 MB / 0.9651 GB, free: 129.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/1.596, allocations: 124.1 kB / 0.9652 GB, free: 129.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.471/7.068, allocations: 7.766 kB / 0.9652 GB, free: 129.4 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)