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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2") translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009457/0.000946, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.2 MB / 238.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 173.1 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5217/0.5217, allocations: 79.45 MB / 420.7 MB, free: 3.941 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.000466, allocations: 8 kB / 0.489 GB, free: 5.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2124, allocations: 69.51 MB / 0.5569 GB, free: 20 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.4167/0.6292, allocations: 5.149 MB / 0.5619 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004938/0.6342, allocations: 2.087 MB / 0.5639 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.6354, allocations: 6.938 kB / 0.564 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008111/0.6362, allocations: 180 kB / 0.5641 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.6386, allocations: 0.6417 MB / 0.5648 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.6399, allocations: 0.5045 MB / 0.5652 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002355/0.6423, allocations: 1.005 MB / 0.5662 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.6428, allocations: 246.2 kB / 0.5665 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.6439, allocations: 0.5732 MB / 0.567 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008707/0.6448, allocations: 0.6469 MB / 0.5677 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.6449, allocations: 59.31 kB / 0.5677 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006028/0.6456, allocations: 174.3 kB / 0.5679 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.6458, allocations: 248.9 kB / 0.5681 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.6461, allocations: 221.7 kB / 0.5683 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.6479, allocations: 1.489 MB / 0.5698 GB, free: 35.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6479, allocations: 1.875 kB / 0.5698 GB, free: 35.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6479, allocations: 0 / 0.5698 GB, free: 35.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.108e-05/0.6479, allocations: 0 / 0.5698 GB, free: 35.99 MB / 430.1 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.007231/0.6552, allocations: 2.097 MB / 0.5718 GB, free: 35.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.6552, allocations: 10.28 kB / 0.5718 GB, free: 35.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/0.6589, allocations: 0.5577 MB / 0.5724 GB, free: 34.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/0.6614, allocations: 0.9515 MB / 0.5733 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.6617, allocations: 248.9 kB / 0.5735 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.6618, allocations: 73.7 kB / 0.5736 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.6638, allocations: 1.009 MB / 0.5746 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.6638, allocations: 0 / 0.5746 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.6639, allocations: 25.44 kB / 0.5746 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.6639, allocations: 19.75 kB / 0.5746 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.6659, allocations: 0.9652 MB / 0.5756 GB, free: 33.34 MB / 430.1 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.006642/0.6725, allocations: 3.784 MB / 0.5793 GB, free: 31.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/0.6867, allocations: 4.285 MB / 0.5835 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.687, allocations: 9.906 kB / 0.5835 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.687, allocations: 43.28 kB / 0.5835 GB, free: 30.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.727e-06/0.687, allocations: 0 / 0.5835 GB, free: 30.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01418/0.7012, allocations: 4.252 MB / 0.5877 GB, free: 29.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.7014, allocations: 114.9 kB / 0.5878 GB, free: 28.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/0.7046, allocations: 1.154 MB / 0.5889 GB, free: 28.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003286/0.7049, allocations: 41.36 kB / 0.5889 GB, free: 28.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004887/0.7054, allocations: 472.9 kB / 0.5894 GB, free: 28.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/0.7059, allocations: 287 kB / 0.5897 GB, free: 27.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.7061, allocations: 19.91 kB / 0.5897 GB, free: 27.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.7063, allocations: 348.9 kB / 0.59 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/0.7083, allocations: 0.6867 MB / 0.5907 GB, free: 27.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002319/0.7107, allocations: 0.8178 MB / 0.5915 GB, free: 26.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.7128, allocations: 0.7432 MB / 0.5922 GB, free: 26.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/0.7128, allocations: 5.031 kB / 0.5922 GB, free: 26.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01026/0.7231, allocations: 3.13 MB / 0.5953 GB, free: 25.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002335/0.7234, allocations: 0.6175 MB / 0.5959 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.7234, allocations: 6.656 kB / 0.5959 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005544/0.729, allocations: 1.256 MB / 0.5971 GB, free: 24.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.7306, allocations: 226.4 kB / 0.5973 GB, free: 24.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.7443, allocations: 5.602 MB / 0.6028 GB, free: 21.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.7468, allocations: 194.1 kB / 0.603 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003755/0.7472, allocations: 37.69 kB / 0.603 GB, free: 21.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.7472, allocations: 3.906 kB / 0.603 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009934/0.7571, allocations: 2.945 MB / 0.6059 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.7572, allocations: 2.797 kB / 0.6059 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005412/0.7626, allocations: 1.254 MB / 0.6071 GB, free: 20.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.7642, allocations: 213 kB / 0.6073 GB, free: 20.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/0.7782, allocations: 5.603 MB / 0.6128 GB, free: 17.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.7806, allocations: 175.1 kB / 0.613 GB, free: 17.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003712/0.781, allocations: 37.09 kB / 0.613 GB, free: 17.77 MB / 430.1 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 (118): * Single equations (assignments): 115 * 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.001282/0.7823, allocations: 357.6 kB / 0.6133 GB, free: 17.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000634/0.7829, allocations: 116.3 kB / 0.6135 GB, free: 17.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008253/0.7912, allocations: 2.648 MB / 0.616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.7912, allocations: 9.219 kB / 0.6161 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.962e-05/0.7913, allocations: 6.594 kB / 0.6161 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/0.7913, allocations: 5.438 kB / 0.6161 GB, free: 15.67 MB / 430.1 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.01036/0.8017, allocations: 4.235 MB / 0.6202 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.8017, allocations: 0 / 0.6202 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008144/0.8025, allocations: 107.9 kB / 0.6203 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/0.8059, allocations: 1.089 MB / 0.6214 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.8061, allocations: 23.98 kB / 0.6214 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008022/0.8142, allocations: 4.316 MB / 0.6256 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.8142, allocations: 1.062 kB / 0.6256 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008521/0.8227, allocations: 3.456 MB / 0.629 GB, free: 2.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/0.8234, allocations: 223.5 kB / 0.6292 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004592/0.8239, allocations: 24 kB / 0.6292 GB, free: 2.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.8254, allocations: 131.9 kB / 0.6293 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004146/0.8258, allocations: 132.4 kB / 0.6295 GB, free: 1.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/0.8259, allocations: 23.98 kB / 0.6295 GB, free: 1.805 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001775/0.8277, allocations: 0.8114 MB / 0.6303 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.8277, allocations: 0 / 0.6303 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002704/0.8304, allocations: 0.593 MB / 0.6309 GB, free: 400 kB / 430.1 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.0003277/0.8308, allocations: 133.3 kB / 0.631 GB, free: 260 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01024/0.841, allocations: 3.905 MB / 0.6348 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.8411, allocations: 4.125 kB / 0.6348 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003518/0.8446, allocations: 1.378 MB / 0.6362 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.8458, allocations: 94.98 kB / 0.6362 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005952/0.8518, allocations: 2.722 MB / 0.6389 GB, free: 8.023 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009237/0.8527, allocations: 1.105 MB / 0.64 GB, free: 6.883 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009489/0.8537, allocations: 152.7 kB / 0.6401 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.8541, allocations: 71.41 kB / 0.6402 GB, free: 6.664 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.8542, allocations: 0 / 0.6402 GB, free: 6.664 MB / 446.1 MB Notification: Performance of Templates: time 0.04161/0.8958, allocations: 22.19 MB / 0.6619 GB, free: 0.6797 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)