Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1") translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.367/1.367, allocations: 223.3 MB / 239 MB, free: 5.59 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.001064/0.001064, allocations: 184.5 kB / 290.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5356/0.5356, allocations: 91.92 MB / 433.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 12 kB / 0.5042 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.319, allocations: 72.47 MB / 0.5749 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.003597/0.3226, allocations: 4.803 MB / 0.5796 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.325, allocations: 1.677 MB / 0.5813 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.3254, allocations: 5.688 kB / 0.5813 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.3257, allocations: 124.8 kB / 0.5814 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.3268, allocations: 0.525 MB / 0.5819 GB, free: 32.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.3275, allocations: 389.9 kB / 0.5823 GB, free: 32.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007934/0.3283, allocations: 1.063 MB / 0.5833 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.3286, allocations: 186.1 kB / 0.5835 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003799/0.329, allocations: 406.1 kB / 0.5839 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.3295, allocations: 0.5194 MB / 0.5844 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.3296, allocations: 51.25 kB / 0.5844 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.3299, allocations: 169.3 kB / 0.5846 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.33, allocations: 185.3 kB / 0.5848 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.3302, allocations: 177.4 kB / 0.5849 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006923/0.3309, allocations: 1.071 MB / 0.586 GB, free: 30.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3309, allocations: 0 / 0.586 GB, free: 30.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3309, allocations: 1.75 kB / 0.586 GB, free: 30.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3309, allocations: 0 / 0.586 GB, free: 30.51 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004616/0.3355, allocations: 1.721 MB / 0.5877 GB, free: 29.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3356, allocations: 10.34 kB / 0.5877 GB, free: 29.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/0.3388, allocations: 0.5296 MB / 0.5882 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008802/0.3397, allocations: 0.6512 MB / 0.5888 GB, free: 29.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.3399, allocations: 153 kB / 0.589 GB, free: 29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.34, allocations: 65.47 kB / 0.589 GB, free: 28.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.3415, allocations: 0.825 MB / 0.5898 GB, free: 28.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.3415, allocations: 3.984 kB / 0.5899 GB, free: 28.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.3416, allocations: 25.06 kB / 0.5899 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.3416, allocations: 12.25 kB / 0.5899 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.343, allocations: 0.7281 MB / 0.5906 GB, free: 28.38 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.004416/0.3474, allocations: 2.942 MB / 0.5935 GB, free: 26.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/0.3598, allocations: 3.921 MB / 0.5973 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.361, allocations: 0.5191 MB / 0.5978 GB, free: 25.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.401e-05/0.3611, allocations: 7.094 kB / 0.5978 GB, free: 25.81 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.3612, allocations: 43.5 kB / 0.5979 GB, free: 25.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.905e-06/0.3612, allocations: 0 / 0.5979 GB, free: 25.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01121/0.3724, allocations: 3.913 MB / 0.6017 GB, free: 24.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3724, allocations: 84.55 kB / 0.6018 GB, free: 24.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.3736, allocations: 0.7765 MB / 0.6025 GB, free: 24.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.3737, allocations: 36.98 kB / 0.6026 GB, free: 24.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.374, allocations: 376.2 kB / 0.6029 GB, free: 23.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.3742, allocations: 236.7 kB / 0.6031 GB, free: 23.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.3743, allocations: 18.94 kB / 0.6032 GB, free: 23.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.3744, allocations: 347.2 kB / 0.6035 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.3755, allocations: 0.5776 MB / 0.6041 GB, free: 23.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.3766, allocations: 0.699 MB / 0.6047 GB, free: 22.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.3778, allocations: 0.63 MB / 0.6053 GB, free: 22.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3778, allocations: 4.953 kB / 0.6054 GB, free: 22.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007868/0.3857, allocations: 2.88 MB / 0.6082 GB, free: 21.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.384e-05/0.3858, allocations: 148.5 kB / 0.6083 GB, free: 21.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3858, allocations: 1.656 kB / 0.6083 GB, free: 21.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004622/0.3905, allocations: 1.264 MB / 0.6095 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.3915, allocations: 174.8 kB / 0.6097 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.4031, allocations: 5.374 MB / 0.615 GB, free: 18.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.4044, allocations: 146.5 kB / 0.6151 GB, free: 18.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/0.4045, allocations: 42.66 kB / 0.6151 GB, free: 18.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.4045, allocations: 3.938 kB / 0.6151 GB, free: 18.43 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007285/0.4118, allocations: 2.729 MB / 0.6178 GB, free: 17.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4119, allocations: 4 kB / 0.6178 GB, free: 17.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004271/0.4161, allocations: 1.261 MB / 0.619 GB, free: 16.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008673/0.417, allocations: 168.7 kB / 0.6192 GB, free: 16.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009514/0.4266, allocations: 5.388 MB / 0.6245 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.4277, allocations: 119.4 kB / 0.6246 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.4278, allocations: 35.98 kB / 0.6246 GB, free: 10.47 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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: 8 * 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 (103): * Single equations (assignments): 100 * 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.0004623/0.4283, allocations: 309.3 kB / 0.6249 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.4284, allocations: 90.86 kB / 0.625 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/0.434, allocations: 2.395 MB / 0.6273 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.434, allocations: 4 kB / 0.6273 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.434, allocations: 4 kB / 0.6273 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.434, allocations: 3.984 kB / 0.6273 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006867/0.4409, allocations: 3.678 MB / 0.6309 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.4409, allocations: 0 / 0.6309 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.4415, allocations: 83.89 kB / 0.631 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/0.4445, allocations: 1.086 MB / 0.6321 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.258e-05/0.4446, allocations: 19.98 kB / 0.6321 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007365/0.4519, allocations: 4.134 MB / 0.6361 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.452, allocations: 0 / 0.6361 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007505/0.4595, allocations: 3.057 MB / 0.6391 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.4598, allocations: 188 kB / 0.6393 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.4599, allocations: 16 kB / 0.6393 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007887/0.4607, allocations: 87.86 kB / 0.6394 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.4611, allocations: 128.3 kB / 0.6395 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.4611, allocations: 19.98 kB / 0.6395 GB, free: 10.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006997/0.4618, allocations: 0.5225 MB / 0.64 GB, free: 10.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.445e-06/0.4618, allocations: 96 / 0.64 GB, free: 10.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001566/0.4634, allocations: 0.5267 MB / 0.6406 GB, free: 9.805 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (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) * 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 (47): * Single equations (assignments): 44 * 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.0002241/0.4637, allocations: 134.4 kB / 0.6407 GB, free: 9.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008222/0.4719, allocations: 3.562 MB / 0.6442 GB, free: 5.992 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4719, allocations: 0 / 0.6442 GB, free: 5.992 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002878/0.4748, allocations: 1.256 MB / 0.6454 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.4755, allocations: 75.25 kB / 0.6455 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.479, allocations: 2.134 MB / 0.6476 GB, free: 2.438 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.4795, allocations: 0.9796 MB / 0.6485 GB, free: 1.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004768/0.48, allocations: 89.41 kB / 0.6486 GB, free: 1.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.4802, allocations: 51.42 kB / 0.6486 GB, free: 1.289 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4802, allocations: 0 / 0.6486 GB, free: 1.289 MB / 446.1 MB Notification: Performance of Templates: time 0.02854/0.5088, allocations: 19.29 MB / 0.6675 GB, free: 14.05 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)