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.001092/0.001092, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.254/1.254, allocations: 205.2 MB / 218.5 MB, free: 9.207 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.0007972/0.0007972, allocations: 87.22 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06187/0.06187, allocations: 12.19 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2723/0.2723, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.754e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 69.24 MB / 0.5889 GB, free: 2.926 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.4732, allocations: 102.6 MB / 0.6891 GB, free: 13.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/0.4734, allocations: 82.77 kB / 0.6892 GB, free: 13.69 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07928/0.5527, allocations: 29.1 MB / 0.7176 GB, free: 5.227 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5527, allocations: 0 / 0.7176 GB, free: 5.227 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001165/0.5529, allocations: 24 kB / 0.7176 GB, free: 5.203 MB / 458.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.003999/0.5569, allocations: 1.474 MB / 0.7191 GB, free: 3.766 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5569, allocations: 15.92 kB / 0.7191 GB, free: 3.75 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002491/0.5572, allocations: 114.1 kB / 0.7192 GB, free: 3.672 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/0.5596, allocations: 419.1 kB / 0.7196 GB, free: 3.293 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.5611, allocations: 0.8788 MB / 0.7205 GB, free: 2.613 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.5614, allocations: 241.9 kB / 0.7207 GB, free: 2.367 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.5616, allocations: 69.28 kB / 0.7208 GB, free: 2.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.5631, allocations: 0.8461 MB / 0.7216 GB, free: 1.773 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5631, allocations: 0 / 0.7216 GB, free: 1.773 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.591e-05/0.5632, allocations: 29.19 kB / 0.7216 GB, free: 1.766 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.5633, allocations: 16 kB / 0.7216 GB, free: 1.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.5646, allocations: 0.78 MB / 0.7224 GB, free: 1.285 MB / 458.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.006191/0.5708, allocations: 3.62 MB / 0.7259 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.5841, allocations: 4.004 MB / 0.7298 GB, free: 11.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007715/0.5849, allocations: 487.3 kB / 0.7303 GB, free: 10.78 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.585, allocations: 8.781 kB / 0.7303 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.5851, allocations: 50.72 kB / 0.7304 GB, free: 10.72 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 2.474e-06/0.5851, allocations: 0 / 0.7304 GB, free: 10.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.005897/0.591, allocations: 2.133 MB / 0.7324 GB, free: 9.016 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.5911, allocations: 111.6 kB / 0.7325 GB, free: 8.883 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.5927, allocations: 0.9353 MB / 0.7335 GB, free: 8.207 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.5928, allocations: 44.14 kB / 0.7335 GB, free: 8.168 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.5931, allocations: 482.5 kB / 0.734 GB, free: 7.914 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.5935, allocations: 278 kB / 0.7342 GB, free: 7.672 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.765e-05/0.5936, allocations: 19.81 kB / 0.7342 GB, free: 7.668 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5937, allocations: 338.5 kB / 0.7346 GB, free: 7.344 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007199/0.5944, allocations: 429.3 kB / 0.735 GB, free: 7.121 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007626/0.5952, allocations: 0.5245 MB / 0.7355 GB, free: 6.785 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007472/0.5959, allocations: 481.9 kB / 0.7359 GB, free: 6.523 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.596, allocations: 0 / 0.7359 GB, free: 6.523 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006484/0.6024, allocations: 2.388 MB / 0.7383 GB, free: 4.617 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.6027, allocations: 0.6133 MB / 0.7389 GB, free: 3.973 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.6027, allocations: 7.984 kB / 0.7389 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003854/0.6066, allocations: 1.02 MB / 0.7399 GB, free: 3.078 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008342/0.6074, allocations: 163 kB / 0.74 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008199/0.6156, allocations: 4.444 MB / 0.7444 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.6171, allocations: 183.1 kB / 0.7445 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.6172, allocations: 24 kB / 0.7446 GB, free: 15.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.6173, allocations: 4 kB / 0.7446 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006351/0.6236, allocations: 2.257 MB / 0.7468 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.6236, allocations: 4 kB / 0.7468 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003818/0.6275, allocations: 1.009 MB / 0.7478 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/0.6282, allocations: 143.8 kB / 0.7479 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008028/0.6363, allocations: 4.451 MB / 0.7523 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.6377, allocations: 163.2 kB / 0.7524 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.6378, allocations: 28 kB / 0.7524 GB, free: 6.934 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.avr.vref:VARIABLE(unit = "1" fixed = false 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 () * 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.0002732/0.6381, allocations: 151.5 kB / 0.7526 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.6384, allocations: 114.6 kB / 0.7527 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006004/0.6444, allocations: 2.24 MB / 0.7549 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.6444, allocations: 11.95 kB / 0.7549 GB, free: 4.395 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.6445, allocations: 4 kB / 0.7549 GB, free: 4.391 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.6445, allocations: 3.984 kB / 0.7549 GB, free: 4.387 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.008696/0.6532, allocations: 3.834 MB / 0.7586 GB, free: 468 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.6532, allocations: 4 kB / 0.7586 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/0.654, allocations: 115.8 kB / 0.7588 GB, free: 348 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002812/0.6568, allocations: 0.841 MB / 0.7596 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.657, allocations: 19.98 kB / 0.7596 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005938/0.6629, allocations: 3.366 MB / 0.7629 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.663, allocations: 4 kB / 0.7629 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006901/0.6699, allocations: 2.894 MB / 0.7657 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.6704, allocations: 227.5 kB / 0.7659 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/0.6707, allocations: 27.98 kB / 0.766 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.672, allocations: 123.9 kB / 0.7661 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/0.6724, allocations: 136.5 kB / 0.7662 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.427e-05/0.6725, allocations: 19.98 kB / 0.7662 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001185/0.6737, allocations: 0.7306 MB / 0.7669 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6737, allocations: 0 / 0.7669 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001732/0.6754, allocations: 0.55 MB / 0.7675 GB, free: 7.199 MB / 0.4948 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 () * 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.007196/0.6826, allocations: 3.568 MB / 0.771 GB, free: 3.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007245/0.6899, allocations: 3.089 MB / 0.774 GB, free: 392 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.69, allocations: 384 / 0.774 GB, free: 392 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002789/0.6928, allocations: 1.221 MB / 0.7752 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/0.6937, allocations: 104.7 kB / 0.7753 GB, free: 15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.6987, allocations: 2.123 MB / 0.7773 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006834/0.6994, allocations: 1.114 MB / 0.7784 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001018/0.7004, allocations: 208.9 kB / 0.7786 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005632/0.701, allocations: 407.3 kB / 0.779 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/0.701, allocations: 0 / 0.779 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05444/0.7554, allocations: 33.11 MB / 0.8114 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.7557, allocations: 178.2 kB / 0.8115 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/3.617, allocations: 7.875 kB / 0.8115 GB, free: 9.863 MB / 0.5417 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)