Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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_2.Example_2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_2_Example_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_2.Example_2,fileNamePrefix="OpenIPSL_dev_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.0115/0.0115, allocations: 171.7 kB / 15.11 MB, free: 5.98 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.491/1.491, allocations: 223.2 MB / 239 MB, free: 1.801 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.0008794/0.0008794, allocations: 98.67 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4937/0.4937, allocations: 79.45 MB / 420.8 MB, free: 43.68 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003811, allocations: 15.98 kB / 0.4891 GB, free: 1.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4227, allocations: 69.51 MB / 0.557 GB, free: 39.06 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.5713, allocations: 101.8 MB / 0.6565 GB, free: 3.734 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.5716, allocations: 79.95 kB / 0.6565 GB, free: 3.656 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08725/0.6589, allocations: 30.04 MB / 0.6859 GB, free: 5.477 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6589, allocations: 4 kB / 0.6859 GB, free: 5.473 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001477/0.6591, allocations: 20 kB / 0.6859 GB, free: 5.453 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.006027/0.6651, allocations: 1.819 MB / 0.6877 GB, free: 3.582 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.6652, allocations: 8.031 kB / 0.6877 GB, free: 3.574 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004976/0.6657, allocations: 110.5 kB / 0.6878 GB, free: 3.457 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002881/0.6686, allocations: 426 kB / 0.6882 GB, free: 3.039 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/0.672, allocations: 0.9464 MB / 0.6891 GB, free: 2.039 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004072/0.6724, allocations: 251.5 kB / 0.6894 GB, free: 1.754 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000405/0.6729, allocations: 64 kB / 0.6894 GB, free: 1.691 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.6757, allocations: 0.9993 MB / 0.6904 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.6757, allocations: 0 / 0.6904 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.6758, allocations: 28 kB / 0.6904 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.6759, allocations: 12 kB / 0.6904 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.6783, allocations: 0.9773 MB / 0.6914 GB, free: 15.65 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.008638/0.6869, allocations: 3.613 MB / 0.6949 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/0.7019, allocations: 4.273 MB / 0.6991 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/0.7021, allocations: 20.64 kB / 0.6991 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.7022, allocations: 51.09 kB / 0.6992 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 4.048e-06/0.7022, allocations: 0 / 0.6992 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01465/0.7168, allocations: 4.298 MB / 0.7034 GB, free: 3.148 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.717, allocations: 115.5 kB / 0.7035 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/0.7196, allocations: 1.023 MB / 0.7045 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000254/0.7199, allocations: 37.7 kB / 0.7045 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/0.7203, allocations: 477 kB / 0.705 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/0.7208, allocations: 272 kB / 0.7052 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.7209, allocations: 16 kB / 0.7052 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7211, allocations: 341.9 kB / 0.7056 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.7224, allocations: 0.5642 MB / 0.7061 GB, free: 272 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.7238, allocations: 0.6743 MB / 0.7068 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.7252, allocations: 0.617 MB / 0.7074 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.7252, allocations: 0 / 0.7074 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008574/0.7338, allocations: 2.798 MB / 0.7101 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002896/0.7342, allocations: 0.6312 MB / 0.7107 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.7342, allocations: 7.938 kB / 0.7107 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005011/0.7392, allocations: 1.24 MB / 0.7119 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.7403, allocations: 155.8 kB / 0.7121 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.7529, allocations: 5.595 MB / 0.7175 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.7549, allocations: 175.2 kB / 0.7177 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/0.7552, allocations: 28 kB / 0.7177 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7553, allocations: 5.562 kB / 0.7177 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008238/0.7635, allocations: 2.618 MB / 0.7203 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.7636, allocations: 4 kB / 0.7203 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004772/0.7684, allocations: 1.235 MB / 0.7215 GB, free: 248 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.7697, allocations: 151.8 kB / 0.7217 GB, free: 96 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/0.7826, allocations: 5.574 MB / 0.7271 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.7847, allocations: 163.2 kB / 0.7273 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/0.785, allocations: 27.98 kB / 0.7273 GB, free: 10.21 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.001084/0.7861, allocations: 356.9 kB / 0.7276 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.7866, allocations: 110.6 kB / 0.7277 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007792/0.7944, allocations: 2.642 MB / 0.7303 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.7945, allocations: 12 kB / 0.7303 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.408e-05/0.7945, allocations: 4 kB / 0.7303 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/0.7945, allocations: 3.984 kB / 0.7303 GB, free: 7.055 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.01144/0.806, allocations: 4.236 MB / 0.7345 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.8061, allocations: 4 kB / 0.7345 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008779/0.8069, allocations: 107.9 kB / 0.7346 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003554/0.8105, allocations: 1.081 MB / 0.7356 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/0.8108, allocations: 19.94 kB / 0.7356 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009016/0.8198, allocations: 4.287 MB / 0.7398 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8199, allocations: 0 / 0.7398 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009485/0.8294, allocations: 3.445 MB / 0.7432 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008203/0.8303, allocations: 227.5 kB / 0.7434 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005825/0.8309, allocations: 19.98 kB / 0.7434 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.8325, allocations: 127.9 kB / 0.7436 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005358/0.8331, allocations: 136.4 kB / 0.7437 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.8332, allocations: 28 kB / 0.7437 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002165/0.8354, allocations: 0.8075 MB / 0.7445 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.51e-07/0.8354, allocations: 0 / 0.7445 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002511/0.838, allocations: 0.5501 MB / 0.745 GB, free: 7.691 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.009662/0.8476, allocations: 4.116 MB / 0.7491 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009883/0.8576, allocations: 3.495 MB / 0.7525 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.8576, allocations: 0 / 0.7525 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003703/0.8614, allocations: 1.373 MB / 0.7538 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.8627, allocations: 110.8 kB / 0.7539 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008391/0.8711, allocations: 4.583 MB / 0.7584 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.8722, allocations: 1.108 MB / 0.7595 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001039/0.8733, allocations: 125.8 kB / 0.7596 GB, free: 8.355 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009751/0.8743, allocations: 419.3 kB / 0.76 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of SimCode: time 2.665e-06/0.8743, allocations: 0 / 0.76 GB, free: 7.945 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3603/1.235, allocations: 30.97 MB / 0.7902 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/1.235, allocations: 205.7 kB / 0.7904 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/4.353, allocations: 0 / 0.7904 GB, free: 143.1 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_2_Example_2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_Tutorial_Example_2_Example_2.fmu > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)