Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.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.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3",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.00127/0.00127, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.305/1.305, allocations: 221.5 MB / 229.6 MB, free: 3.188 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.0008757/0.0008758, allocations: 95.39 kB / 280.5 MB, free: 1.168 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4588/0.4588, allocations: 78.13 MB / 409.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.527e-05/1.53e-05, allocations: 4 kB / 485.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3685, allocations: 69.35 MB / 0.5414 GB, free: 21.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.5023, allocations: 102.4 MB / 0.6414 GB, free: 2.301 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.5026, allocations: 79.95 kB / 0.6415 GB, free: 2.223 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.496/0.9987, allocations: 83.27 MB / 0.7228 GB, free: 86.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.9987, allocations: 3.938 kB / 0.7228 GB, free: 86.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000171/0.9989, allocations: 59.94 kB / 0.7229 GB, free: 86.08 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: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.008929/1.008, allocations: 3.373 MB / 0.7261 GB, free: 82.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/1.008, allocations: 12.03 kB / 0.7262 GB, free: 82.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007491/1.015, allocations: 1.177 MB / 0.7273 GB, free: 81.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/1.02, allocations: 1.758 MB / 0.729 GB, free: 79.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004145/1.02, allocations: 396.6 kB / 0.7294 GB, free: 79.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004988/1.021, allocations: 119.8 kB / 0.7295 GB, free: 79.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003222/1.024, allocations: 1.89 MB / 0.7314 GB, free: 77.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/1.027, allocations: 1.925 MB / 0.7332 GB, free: 75.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/1.027, allocations: 4 kB / 0.7332 GB, free: 75.28 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/1.027, allocations: 3.984 kB / 0.7332 GB, free: 75.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/1.027, allocations: 44 kB / 0.7333 GB, free: 75.23 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.01484/1.042, allocations: 8.753 MB / 0.7418 GB, free: 66.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008442/1.05, allocations: 4.52 MB / 0.7463 GB, free: 61.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001785/1.052, allocations: 1.276 MB / 0.7475 GB, free: 60.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/1.052, allocations: 35.92 kB / 0.7475 GB, free: 60.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002023/1.054, allocations: 1.505 MB / 0.749 GB, free: 58.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.408e-06/1.054, allocations: 0 / 0.749 GB, free: 58.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.02005/1.075, allocations: 7.208 MB / 0.756 GB, free: 51.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/1.075, allocations: 239.7 kB / 0.7563 GB, free: 51.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/1.078, allocations: 1.867 MB / 0.7581 GB, free: 49.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006462/1.078, allocations: 29.7 kB / 0.7581 GB, free: 49.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006522/1.079, allocations: 1.15 MB / 0.7592 GB, free: 48.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007969/1.08, allocations: 0.8103 MB / 0.76 GB, free: 47.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.08, allocations: 0 / 0.76 GB, free: 47.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/1.08, allocations: 399 kB / 0.7604 GB, free: 46.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/1.082, allocations: 1.036 MB / 0.7614 GB, free: 45.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/1.083, allocations: 1.292 MB / 0.7627 GB, free: 44.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/1.085, allocations: 1.159 MB / 0.7638 GB, free: 43.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/1.085, allocations: 0 / 0.7638 GB, free: 43.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01707/1.102, allocations: 6.482 MB / 0.7702 GB, free: 36.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.672e-05/1.102, allocations: 174.2 kB / 0.7703 GB, free: 36.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/1.102, allocations: 4 kB / 0.7703 GB, free: 36.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009397/1.112, allocations: 2.708 MB / 0.773 GB, free: 33.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/1.115, allocations: 487.3 kB / 0.7734 GB, free: 33.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/1.138, allocations: 16.11 MB / 0.7892 GB, free: 16.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003778/1.142, allocations: 354 kB / 0.7895 GB, free: 16.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003227/1.142, allocations: 87.97 kB / 0.7896 GB, free: 16.17 MB / 490.7 MB 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 (243): * Single equations (assignments): 230 * 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.0007216/1.143, allocations: 248.9 kB / 0.7898 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02092/1.164, allocations: 7.235 MB / 0.7969 GB, free: 8.656 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001669/1.165, allocations: 292.3 kB / 0.7972 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02056/1.186, allocations: 7.392 MB / 0.8044 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.956e-05/1.186, allocations: 28.08 kB / 0.8044 GB, free: 0.918 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.186, allocations: 3.953 kB / 0.8044 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.307e-05/1.186, allocations: 15.95 kB / 0.8044 GB, free: 0.8984 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.02864/1.215, allocations: 11.14 MB / 0.8153 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/1.215, allocations: 3.984 kB / 0.8153 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/1.217, allocations: 243.7 kB / 0.8156 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01129/1.228, allocations: 3.233 MB / 0.8187 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007995/1.229, allocations: 23.98 kB / 0.8187 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03368/1.262, allocations: 16.99 MB / 0.8353 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.262, allocations: 3.938 kB / 0.8353 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0272/1.29, allocations: 9.075 MB / 0.8442 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.291, allocations: 452.7 kB / 0.8446 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/1.293, allocations: 12 kB / 0.8446 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/1.296, allocations: 239.8 kB / 0.8449 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001412/1.297, allocations: 386 kB / 0.8452 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001904/1.297, allocations: 71.98 kB / 0.8453 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002511/1.3, allocations: 1.383 MB / 0.8466 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/1.3, allocations: 0 / 0.8466 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004119/1.304, allocations: 0.8698 MB / 0.8475 GB, free: 4.031 MB / 0.5261 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 (148): * Single equations (assignments): 141 * 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.02588/1.33, allocations: 9.882 MB / 0.8571 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01125/1.341, allocations: 4.862 MB / 0.8619 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.341, allocations: 0 / 0.8619 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008423/1.35, allocations: 3.396 MB / 0.8652 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/1.352, allocations: 211.4 kB / 0.8654 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.363, allocations: 4.68 MB / 0.87 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/1.364, allocations: 1.842 MB / 0.8718 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001175/1.365, allocations: 227.9 kB / 0.872 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/1.367, allocations: 1.179 MB / 0.8732 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of SimCode: time 9.52e-07/1.367, allocations: 3.938 kB / 0.8732 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4879/1.855, allocations: 68.55 MB / 0.9401 GB, free: 165.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.855, allocations: 136.8 kB / 0.9402 GB, free: 165.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.606/6.461, allocations: 2.109 kB / 0.9402 GB, free: 165.1 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3.fmu > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)