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.0009264/0.0009264, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 240 MB, free: 5.445 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.000988/0.000988, allocations: 176.5 kB / 291.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4827/0.4827, allocations: 91.93 MB / 434.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 19.98 kB / 0.5054 GB, free: 7.227 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2942, allocations: 72.46 MB / 0.5762 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.004096/0.2983, allocations: 5.752 MB / 0.5818 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.301, allocations: 2.148 MB / 0.5839 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.3014, allocations: 12.47 kB / 0.5839 GB, free: 31.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.3019, allocations: 189.9 kB / 0.5841 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.3031, allocations: 0.6756 MB / 0.5847 GB, free: 30.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009437/0.3041, allocations: 0.6652 MB / 0.5854 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.3052, allocations: 1.69 MB / 0.587 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.3055, allocations: 257.5 kB / 0.5873 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004928/0.306, allocations: 0.5625 MB / 0.5878 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006103/0.3066, allocations: 0.6852 MB / 0.5885 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.3068, allocations: 60.09 kB / 0.5886 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.3071, allocations: 186.2 kB / 0.5887 GB, free: 28.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.3073, allocations: 264.1 kB / 0.589 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003534/0.3077, allocations: 0.5766 MB / 0.5896 GB, free: 28.19 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009087/0.3086, allocations: 1.516 MB / 0.591 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3086, allocations: 1.781 kB / 0.591 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3086, allocations: 0 / 0.591 GB, free: 27.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.3086, allocations: 0 / 0.591 GB, free: 27.81 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.006156/0.3148, allocations: 2.079 MB / 0.5931 GB, free: 26.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3148, allocations: 9.375 kB / 0.5931 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/0.3182, allocations: 0.5593 MB / 0.5936 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.3198, allocations: 1.004 MB / 0.5946 GB, free: 26.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.32, allocations: 244.8 kB / 0.5948 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.3202, allocations: 69.41 kB / 0.5949 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.322, allocations: 1.017 MB / 0.5959 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3221, allocations: 0 / 0.5959 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.3222, allocations: 25.59 kB / 0.5959 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.3222, allocations: 19.84 kB / 0.5959 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.3241, allocations: 0.9652 MB / 0.5969 GB, free: 25.05 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.005708/0.3298, allocations: 3.689 MB / 0.6005 GB, free: 23.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01568/0.3455, allocations: 4.292 MB / 0.6047 GB, free: 22.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.3469, allocations: 0.6242 MB / 0.6053 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.032e-05/0.347, allocations: 12.91 kB / 0.6053 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.3471, allocations: 44.83 kB / 0.6053 GB, free: 21.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.885e-06/0.3471, allocations: 0 / 0.6053 GB, free: 21.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01313/0.3602, allocations: 4.263 MB / 0.6095 GB, free: 20.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3603, allocations: 112.6 kB / 0.6096 GB, free: 20.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.3623, allocations: 1.163 MB / 0.6108 GB, free: 20.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.3625, allocations: 42.91 kB / 0.6108 GB, free: 20.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.3628, allocations: 470 kB / 0.6112 GB, free: 19.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.3631, allocations: 280.3 kB / 0.6115 GB, free: 19.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.3632, allocations: 104.1 kB / 0.6116 GB, free: 19.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.3633, allocations: 349.8 kB / 0.6119 GB, free: 19.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.3647, allocations: 0.6927 MB / 0.6126 GB, free: 18.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.3662, allocations: 0.8283 MB / 0.6134 GB, free: 18.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02058/0.3867, allocations: 4.805 MB / 0.6181 GB, free: 17.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3868, allocations: 5.312 kB / 0.6181 GB, free: 17.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008348/0.3951, allocations: 3.132 MB / 0.6212 GB, free: 15.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.3952, allocations: 151.3 kB / 0.6213 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3952, allocations: 7.938 kB / 0.6213 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004012/0.3993, allocations: 1.203 MB / 0.6225 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4004, allocations: 223.7 kB / 0.6227 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009281/0.4097, allocations: 5.101 MB / 0.6277 GB, free: 8.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.4115, allocations: 195 kB / 0.6279 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.437e-05/0.4115, allocations: 35.98 kB / 0.6279 GB, free: 8.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/0.4116, allocations: 11.94 kB / 0.6279 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007477/0.419, allocations: 2.945 MB / 0.6308 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4191, allocations: 4 kB / 0.6308 GB, free: 5.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004008/0.4231, allocations: 1.207 MB / 0.632 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.4241, allocations: 207.8 kB / 0.6322 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009395/0.4335, allocations: 5.113 MB / 0.6372 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.4351, allocations: 179.1 kB / 0.6374 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.124e-05/0.4352, allocations: 43.98 kB / 0.6374 GB, free: 14.2 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006153/0.4358, allocations: 356.8 kB / 0.6377 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.436, allocations: 106.7 kB / 0.6378 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/0.4434, allocations: 2.658 MB / 0.6404 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.4434, allocations: 8 kB / 0.6404 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.4435, allocations: 4 kB / 0.6405 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4435, allocations: 3.984 kB / 0.6405 GB, free: 11.05 MB / 446.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.009163/0.4526, allocations: 4.236 MB / 0.6446 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4527, allocations: 4 kB / 0.6446 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007477/0.4534, allocations: 111.8 kB / 0.6447 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00356/0.457, allocations: 1.086 MB / 0.6458 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/0.4571, allocations: 16 kB / 0.6458 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008396/0.4655, allocations: 4.14 MB / 0.6498 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4655, allocations: 4 kB / 0.6498 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008839/0.4743, allocations: 3.446 MB / 0.6532 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/0.4748, allocations: 231.5 kB / 0.6534 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.4749, allocations: 23.94 kB / 0.6534 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.4762, allocations: 127.9 kB / 0.6536 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/0.4765, allocations: 136.4 kB / 0.6537 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.4766, allocations: 16 kB / 0.6537 GB, free: 13.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001475/0.4781, allocations: 0.8192 MB / 0.6545 GB, free: 12.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4781, allocations: 4 kB / 0.6545 GB, free: 12.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001488/0.4796, allocations: 0.5891 MB / 0.6551 GB, free: 11.77 MB / 462.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 (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002438/0.4798, allocations: 129.7 kB / 0.6552 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00939/0.4892, allocations: 3.887 MB / 0.659 GB, free: 7.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4892, allocations: 0 / 0.659 GB, free: 7.629 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00331/0.4926, allocations: 1.377 MB / 0.6603 GB, free: 6.199 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009466/0.4935, allocations: 112.3 kB / 0.6605 GB, free: 6.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.4979, allocations: 2.868 MB / 0.6633 GB, free: 3.191 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.4985, allocations: 1.086 MB / 0.6643 GB, free: 2.078 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.4989, allocations: 71.42 kB / 0.6644 GB, free: 2.008 MB / 462.1 MB Notification: Performance of SimCode: time 7.254e-06/0.4989, allocations: 0 / 0.6644 GB, free: 2.008 MB / 462.1 MB Notification: Performance of Templates: time 0.03053/0.5294, allocations: 29.86 MB / 0.6935 GB, free: 4.145 MB / 494.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)