Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_2_Example_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.005511/0.005511, allocations: 172.6 kB / 15.12 MB, free: 5.973 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.412/1.412, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008578/0.0008579, allocations: 86.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06929/0.06929, allocations: 12.2 MB / 330 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4454/0.4454, allocations: 78.52 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005745/0.0005744, allocations: 21.34 kB / 0.528 GB, free: 35.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1396, allocations: 69.25 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4269/0.5666, allocations: 102.7 MB / 0.6959 GB, free: 35.95 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5669, allocations: 86.75 kB / 0.696 GB, free: 35.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08031/0.6472, allocations: 29.16 MB / 0.7245 GB, free: 33.58 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6472, allocations: 3.516 kB / 0.7245 GB, free: 33.58 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001671/0.6474, allocations: 27.94 kB / 0.7245 GB, free: 33.57 MB / 474.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.006653/0.6541, allocations: 1.817 MB / 0.7263 GB, free: 32.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.6541, allocations: 11.95 kB / 0.7263 GB, free: 32.73 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005389/0.6547, allocations: 116.6 kB / 0.7264 GB, free: 32.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002675/0.6574, allocations: 415.5 kB / 0.7268 GB, free: 32.61 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.6601, allocations: 0.9532 MB / 0.7277 GB, free: 32.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/0.6605, allocations: 248.6 kB / 0.728 GB, free: 32.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/0.6608, allocations: 71.78 kB / 0.728 GB, free: 32.07 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/0.6631, allocations: 0.9969 MB / 0.729 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.6632, allocations: 0 / 0.729 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.6633, allocations: 26.38 kB / 0.729 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.6633, allocations: 15.62 kB / 0.729 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.6652, allocations: 0.9695 MB / 0.73 GB, free: 31.96 MB / 474.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.007198/0.6724, allocations: 3.627 MB / 0.7335 GB, free: 31.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.6855, allocations: 4.275 MB / 0.7377 GB, free: 30.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.6857, allocations: 8.469 kB / 0.7377 GB, free: 30.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.6858, allocations: 46.12 kB / 0.7378 GB, free: 30.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 3.858e-06/0.6858, allocations: 3.938 kB / 0.7378 GB, free: 30.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.01266/0.6985, allocations: 4.305 MB / 0.742 GB, free: 29.86 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.6986, allocations: 115.3 kB / 0.7421 GB, free: 29.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.7009, allocations: 1.017 MB / 0.7431 GB, free: 29.44 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.7012, allocations: 44.17 kB / 0.7431 GB, free: 29.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.7015, allocations: 491.1 kB / 0.7436 GB, free: 29.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003608/0.7019, allocations: 264 kB / 0.7438 GB, free: 29 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.702, allocations: 15.53 kB / 0.7438 GB, free: 29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.7021, allocations: 348.3 kB / 0.7442 GB, free: 28.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.7032, allocations: 0.5657 MB / 0.7447 GB, free: 28.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.7044, allocations: 0.6721 MB / 0.7454 GB, free: 28.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.7056, allocations: 0.618 MB / 0.746 GB, free: 28.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.7056, allocations: 0 / 0.746 GB, free: 28.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.007378/0.713, allocations: 2.801 MB / 0.7487 GB, free: 27.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.7132, allocations: 0.6296 MB / 0.7493 GB, free: 26.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.7132, allocations: 3.906 kB / 0.7493 GB, free: 26.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004338/0.7175, allocations: 1.241 MB / 0.7505 GB, free: 26.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.7186, allocations: 159.4 kB / 0.7507 GB, free: 26.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/0.7291, allocations: 5.57 MB / 0.7561 GB, free: 24.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.7309, allocations: 184 kB / 0.7563 GB, free: 24.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.7312, allocations: 27.28 kB / 0.7563 GB, free: 24.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7312, allocations: 5.844 kB / 0.7563 GB, free: 24.26 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006972/0.7382, allocations: 2.621 MB / 0.7589 GB, free: 23.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.7382, allocations: 0 / 0.7589 GB, free: 23.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004187/0.7424, allocations: 1.242 MB / 0.7601 GB, free: 23.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009905/0.7434, allocations: 143.5 kB / 0.7603 GB, free: 23.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.7539, allocations: 5.594 MB / 0.7657 GB, free: 20.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.7561, allocations: 155.7 kB / 0.7659 GB, free: 20.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003435/0.7565, allocations: 26.31 kB / 0.7659 GB, free: 20.91 MB / 474.7 MB 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.00137/0.7579, allocations: 355.2 kB / 0.7662 GB, free: 20.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006505/0.7585, allocations: 113.1 kB / 0.7663 GB, free: 20.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006834/0.7654, allocations: 2.639 MB / 0.7689 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.7654, allocations: 7.812 kB / 0.7689 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.7654, allocations: 7.859 kB / 0.7689 GB, free: 19.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.7654, allocations: 3.984 kB / 0.7689 GB, free: 19.93 MB / 474.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 postOpt removeSimpleEquations (simulation): time 0.009085/0.7745, allocations: 4.243 MB / 0.7731 GB, free: 18.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.7746, allocations: 0 / 0.7731 GB, free: 18.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/0.7753, allocations: 109.2 kB / 0.7732 GB, free: 18.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003018/0.7784, allocations: 1.073 MB / 0.7742 GB, free: 18.05 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.7785, allocations: 21.94 kB / 0.7743 GB, free: 18.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007732/0.7862, allocations: 4.29 MB / 0.7784 GB, free: 16.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7863, allocations: 0 / 0.7784 GB, free: 16.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00833/0.7946, allocations: 3.447 MB / 0.7818 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006347/0.7953, allocations: 224.6 kB / 0.782 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/0.7958, allocations: 22.67 kB / 0.782 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.7973, allocations: 135.2 kB / 0.7822 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004251/0.7978, allocations: 134.5 kB / 0.7823 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/0.7979, allocations: 15.69 kB / 0.7823 GB, free: 13.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002006/0.7999, allocations: 0.8156 MB / 0.7831 GB, free: 13.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7999, allocations: 0 / 0.7831 GB, free: 13.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002382/0.8023, allocations: 0.5479 MB / 0.7836 GB, free: 12.52 MB / 474.7 MB 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.008093/0.8104, allocations: 4.116 MB / 0.7877 GB, free: 8.402 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008011/0.8184, allocations: 3.505 MB / 0.7911 GB, free: 4.789 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.8185, allocations: 0 / 0.7911 GB, free: 4.789 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003056/0.8215, allocations: 1.373 MB / 0.7924 GB, free: 3.363 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.823, allocations: 97.52 kB / 0.7925 GB, free: 3.266 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007379/0.8304, allocations: 4.593 MB / 0.797 GB, free: 14.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/0.8313, allocations: 1.105 MB / 0.7981 GB, free: 13.35 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007813/0.8321, allocations: 125.9 kB / 0.7982 GB, free: 13.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008087/0.8329, allocations: 419.3 kB / 0.7986 GB, free: 12.81 MB / 490.7 MB Notification: Performance of SimCode: time 6.32e-07/0.833, allocations: 0 / 0.7986 GB, free: 12.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05685/0.8898, allocations: 31.05 MB / 0.8289 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.8901, allocations: 211.5 kB / 0.8291 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/3.624, allocations: 0 / 0.8291 GB, free: 13.7 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_2_Example_2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_Tutorial_Example_2_Example_2.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)