Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Tutorial_Example_2_Example_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Tutorial_Example_2_Example_2",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.008137/0.008137, allocations: 170.5 kB / 15.11 MB, free: 5.969 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.468/1.468, allocations: 223.2 MB / 239 MB, free: 1.77 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.000956/0.0009556, allocations: 103.5 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4777/0.4777, allocations: 78.52 MB / 419.8 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004324, allocations: 8 kB / 499.8 MB, free: 2.645 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3907, allocations: 69.36 MB / 0.5558 GB, free: 38.97 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.5184, allocations: 101.2 MB / 0.6546 GB, free: 5.172 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.5187, allocations: 83.95 kB / 0.6547 GB, free: 5.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08369/0.6024, allocations: 29.84 MB / 0.6838 GB, free: 7.105 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.823e-06/0.6024, allocations: 4 kB / 0.6838 GB, free: 7.102 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001052/0.6025, allocations: 24 kB / 0.6838 GB, free: 7.078 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.006038/0.6086, allocations: 1.803 MB / 0.6856 GB, free: 5.223 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.6086, allocations: 12.03 kB / 0.6856 GB, free: 5.211 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003226/0.609, allocations: 110.5 kB / 0.6857 GB, free: 5.094 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002499/0.6115, allocations: 426 kB / 0.6861 GB, free: 4.676 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.6137, allocations: 0.9464 MB / 0.6871 GB, free: 3.676 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/0.614, allocations: 251.4 kB / 0.6873 GB, free: 3.391 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.6142, allocations: 72 kB / 0.6874 GB, free: 3.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.6162, allocations: 1.003 MB / 0.6883 GB, free: 2.301 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.6163, allocations: 0 / 0.6883 GB, free: 2.301 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.1e-05/0.6164, allocations: 24 kB / 0.6884 GB, free: 2.277 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.6164, allocations: 16 kB / 0.6884 GB, free: 2.262 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.6185, allocations: 0.9617 MB / 0.6893 GB, free: 1.297 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007338/0.6258, allocations: 3.629 MB / 0.6929 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01469/0.6405, allocations: 4.274 MB / 0.697 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.6408, allocations: 12.64 kB / 0.697 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.6409, allocations: 39.22 kB / 0.6971 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 4.969e-06/0.6409, allocations: 4 kB / 0.6971 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01387/0.6548, allocations: 4.31 MB / 0.7013 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.6549, allocations: 111.5 kB / 0.7014 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.6572, allocations: 1.023 MB / 0.7024 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.6574, allocations: 37.7 kB / 0.7024 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004331/0.6578, allocations: 473 kB / 0.7029 GB, free: 3.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/0.6582, allocations: 276 kB / 0.7032 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.154e-05/0.6582, allocations: 16 kB / 0.7032 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6584, allocations: 341.9 kB / 0.7035 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.6599, allocations: 0.5681 MB / 0.704 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.6614, allocations: 0.6742 MB / 0.7047 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.6628, allocations: 0.6131 MB / 0.7053 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6628, allocations: 0 / 0.7053 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00848/0.6713, allocations: 2.802 MB / 0.708 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003211/0.6717, allocations: 0.6283 MB / 0.7087 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.6717, allocations: 0 / 0.7087 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004904/0.6766, allocations: 1.241 MB / 0.7099 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.6778, allocations: 167.7 kB / 0.71 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/0.69, allocations: 5.585 MB / 0.7155 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.6917, allocations: 179.2 kB / 0.7157 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.6919, allocations: 28 kB / 0.7157 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.6919, allocations: 4 kB / 0.7157 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008103/0.7, allocations: 2.617 MB / 0.7182 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.7001, allocations: 0 / 0.7182 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004853/0.7049, allocations: 1.242 MB / 0.7195 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.706, allocations: 147.8 kB / 0.7196 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/0.7182, allocations: 5.579 MB / 0.725 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.7203, allocations: 159.2 kB / 0.7252 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.7204, allocations: 20 kB / 0.7252 GB, free: 11.85 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: G1.avr.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007093/0.7212, allocations: 352.9 kB / 0.7255 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.7214, allocations: 110.6 kB / 0.7257 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00732/0.7287, allocations: 2.642 MB / 0.7282 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.7288, allocations: 8 kB / 0.7282 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.7288, allocations: 4 kB / 0.7282 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.493e-05/0.7288, allocations: 7.984 kB / 0.7283 GB, free: 8.695 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01022/0.7391, allocations: 4.24 MB / 0.7324 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.7391, allocations: 0 / 0.7324 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008853/0.74, allocations: 111.8 kB / 0.7325 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003521/0.7436, allocations: 1.077 MB / 0.7336 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/0.7438, allocations: 16 kB / 0.7336 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008708/0.7525, allocations: 4.295 MB / 0.7378 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.7525, allocations: 3.984 kB / 0.7378 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00917/0.7617, allocations: 3.443 MB / 0.7411 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006005/0.7624, allocations: 231.5 kB / 0.7413 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.7626, allocations: 20 kB / 0.7414 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.7638, allocations: 131.9 kB / 0.7415 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004119/0.7643, allocations: 132.4 kB / 0.7416 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/0.7644, allocations: 16 kB / 0.7416 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001687/0.766, allocations: 0.8114 MB / 0.7424 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7661, allocations: 0 / 0.7424 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001882/0.7679, allocations: 0.5499 MB / 0.743 GB, free: 9.332 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009275/0.7772, allocations: 4.115 MB / 0.747 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008658/0.7859, allocations: 3.497 MB / 0.7504 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.786, allocations: 112 / 0.7504 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.7894, allocations: 1.377 MB / 0.7517 GB, free: 140 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/0.7904, allocations: 107.5 kB / 0.7518 GB, free: 32 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006337/0.7967, allocations: 4.579 MB / 0.7563 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007107/0.7975, allocations: 1.108 MB / 0.7574 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006553/0.7981, allocations: 117.9 kB / 0.7575 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006346/0.7988, allocations: 415.3 kB / 0.7579 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of SimCode: time 1.192e-06/0.7988, allocations: 0 / 0.7579 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3158/1.115, allocations: 30.96 MB / 0.7881 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/1.115, allocations: 204.6 kB / 0.7883 GB, free: 144.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.067/4.182, allocations: 0 / 0.7883 GB, free: 144.8 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_Tutorial_Example_2_Example_2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_Tutorial_Example_2_Example_2.fmu > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)