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.0009718/0.0009718, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.443/1.443, allocations: 223.3 MB / 239 MB, free: 5.605 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.001075/0.001075, allocations: 188.5 kB / 290.3 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5345/0.5345, allocations: 91.92 MB / 433.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003518, allocations: 16 kB / 0.5042 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 72.46 MB / 0.5749 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.004333/0.3137, allocations: 5.402 MB / 0.5802 GB, free: 33.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003344/0.317, allocations: 2.058 MB / 0.5822 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007368/0.3178, allocations: 15.59 kB / 0.5822 GB, free: 31.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.3185, allocations: 178 kB / 0.5824 GB, free: 31.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.32, allocations: 0.5965 MB / 0.583 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.321, allocations: 0.5146 MB / 0.5835 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.3223, allocations: 1.575 MB / 0.585 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.3227, allocations: 241.9 kB / 0.5853 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006717/0.3234, allocations: 0.5676 MB / 0.5858 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006569/0.3241, allocations: 0.6709 MB / 0.5865 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.3242, allocations: 63.69 kB / 0.5865 GB, free: 29.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003977/0.3247, allocations: 185.1 kB / 0.5867 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.3249, allocations: 244.1 kB / 0.5869 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.325, allocations: 225 kB / 0.5872 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.326, allocations: 1.51 MB / 0.5886 GB, free: 29.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3261, allocations: 4 kB / 0.5886 GB, free: 29.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3261, allocations: 3.938 kB / 0.5886 GB, free: 29.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.3261, allocations: 0 / 0.5886 GB, free: 29.16 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.006014/0.3321, allocations: 2.088 MB / 0.5907 GB, free: 28.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3322, allocations: 9.844 kB / 0.5907 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/0.3355, allocations: 0.5594 MB / 0.5912 GB, free: 28.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.3372, allocations: 0.957 MB / 0.5922 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.3375, allocations: 244.5 kB / 0.5924 GB, free: 27.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.3376, allocations: 77.56 kB / 0.5925 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.3395, allocations: 1.005 MB / 0.5935 GB, free: 26.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3395, allocations: 5.531 kB / 0.5935 GB, free: 26.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/0.3396, allocations: 24.97 kB / 0.5935 GB, free: 26.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.3397, allocations: 14.47 kB / 0.5935 GB, free: 26.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.3416, allocations: 0.9639 MB / 0.5944 GB, free: 26.47 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.006018/0.3476, allocations: 3.683 MB / 0.598 GB, free: 24.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.3617, allocations: 4.291 MB / 0.6022 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.3632, allocations: 0.6205 MB / 0.6028 GB, free: 23.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.3633, allocations: 8.875 kB / 0.6028 GB, free: 23.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3633, allocations: 43.73 kB / 0.6029 GB, free: 23.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.474e-06/0.3633, allocations: 0 / 0.6029 GB, free: 23.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01336/0.3767, allocations: 4.254 MB / 0.607 GB, free: 22.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3768, allocations: 112.7 kB / 0.6071 GB, free: 21.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/0.379, allocations: 1.155 MB / 0.6083 GB, free: 21.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002154/0.3793, allocations: 40.89 kB / 0.6083 GB, free: 21.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.3796, allocations: 470.8 kB / 0.6088 GB, free: 21.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.3799, allocations: 289.2 kB / 0.609 GB, free: 20.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.3799, allocations: 24.34 kB / 0.6091 GB, free: 20.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.38, allocations: 345.2 kB / 0.6094 GB, free: 20.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.3814, allocations: 0.6892 MB / 0.6101 GB, free: 20.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.3829, allocations: 0.8226 MB / 0.6109 GB, free: 19.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.3845, allocations: 0.7416 MB / 0.6116 GB, free: 19.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3845, allocations: 1.594 kB / 0.6116 GB, free: 19.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008864/0.3934, allocations: 3.13 MB / 0.6146 GB, free: 18.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.123e-05/0.3935, allocations: 139.9 kB / 0.6148 GB, free: 18.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3935, allocations: 2.188 kB / 0.6148 GB, free: 18.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004814/0.3983, allocations: 1.271 MB / 0.616 GB, free: 18.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.3997, allocations: 225.8 kB / 0.6162 GB, free: 18.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.4103, allocations: 5.385 MB / 0.6215 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.4121, allocations: 199 kB / 0.6217 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.4122, allocations: 35.98 kB / 0.6217 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.4123, allocations: 9.719 kB / 0.6217 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007316/0.4196, allocations: 2.937 MB / 0.6246 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4196, allocations: 0 / 0.6246 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00421/0.4238, allocations: 1.261 MB / 0.6258 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.4251, allocations: 211.7 kB / 0.626 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009986/0.4351, allocations: 5.382 MB / 0.6313 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.4368, allocations: 179.1 kB / 0.6315 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.437, allocations: 43.98 kB / 0.6315 GB, free: 3.383 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.0007151/0.4377, allocations: 356.8 kB / 0.6318 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.438, allocations: 118.5 kB / 0.632 GB, free: 2.906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006296/0.4443, allocations: 2.646 MB / 0.6345 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.4444, allocations: 8 kB / 0.6345 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/0.4444, allocations: 4 kB / 0.6345 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.4444, allocations: 3.984 kB / 0.6345 GB, free: 224 kB / 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.009891/0.4543, allocations: 4.236 MB / 0.6387 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.4543, allocations: 0 / 0.6387 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007803/0.4551, allocations: 111.9 kB / 0.6388 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003446/0.4586, allocations: 1.082 MB / 0.6398 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.4587, allocations: 23.95 kB / 0.6399 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008553/0.4673, allocations: 4.138 MB / 0.6439 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4673, allocations: 4 kB / 0.6439 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008913/0.4763, allocations: 3.438 MB / 0.6473 GB, free: 2.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.4768, allocations: 227.5 kB / 0.6475 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003315/0.4772, allocations: 16 kB / 0.6475 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.4785, allocations: 135.9 kB / 0.6476 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003858/0.4789, allocations: 132.4 kB / 0.6478 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.308e-05/0.479, allocations: 20 kB / 0.6478 GB, free: 2.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00167/0.4806, allocations: 0.8114 MB / 0.6486 GB, free: 1.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4807, allocations: 3.938 kB / 0.6486 GB, free: 1.551 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002084/0.4827, allocations: 0.5891 MB / 0.6492 GB, free: 0.9609 MB / 446.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.0002736/0.483, allocations: 135.9 kB / 0.6493 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009331/0.4924, allocations: 3.903 MB / 0.6531 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.4924, allocations: 384 / 0.6531 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003262/0.4957, allocations: 1.377 MB / 0.6544 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4969, allocations: 117.7 kB / 0.6546 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/0.5018, allocations: 2.72 MB / 0.6572 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006723/0.5025, allocations: 1.078 MB / 0.6583 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007624/0.5033, allocations: 150.8 kB / 0.6584 GB, free: 7.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/0.5036, allocations: 71.42 kB / 0.6585 GB, free: 7.172 MB / 462.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5036, allocations: 0 / 0.6585 GB, free: 7.172 MB / 462.1 MB Notification: Performance of Templates: time 0.0361/0.5397, allocations: 22.21 MB / 0.6802 GB, free: 1.023 MB / 478.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)