Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_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_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008941/0.0008941, allocations: 93.33 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5434/0.5434, allocations: 78.01 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.833e-05, allocations: 8 kB / 491.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3007, allocations: 69.35 MB / 0.548 GB, free: 20.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.4196, allocations: 101.1 MB / 0.6467 GB, free: 15.33 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4199, allocations: 75.95 kB / 0.6467 GB, free: 15.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08104/0.5009, allocations: 29.8 MB / 0.6759 GB, free: 1.262 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5009, allocations: 0 / 0.6759 GB, free: 1.262 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.841e-05/0.501, allocations: 20 kB / 0.6759 GB, free: 1.242 MB / 490.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.2703/0.7713, allocations: 1.46 MB / 0.6773 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.7714, allocations: 13.47 kB / 0.6773 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/0.7744, allocations: 412.2 kB / 0.6777 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.7762, allocations: 0.8638 MB / 0.6785 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/0.7765, allocations: 243.5 kB / 0.6788 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.7767, allocations: 71.02 kB / 0.6788 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.7783, allocations: 0.8464 MB / 0.6797 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.7783, allocations: 4.859 kB / 0.6797 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.7784, allocations: 27.12 kB / 0.6797 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.7784, allocations: 18.19 kB / 0.6797 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.7798, allocations: 0.7778 MB / 0.6805 GB, free: 104 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 preOpt removeSimpleEquations (simulation): time 0.006447/0.7863, allocations: 3.616 MB / 0.684 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/0.7997, allocations: 4.007 MB / 0.6879 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008732/0.8006, allocations: 484 kB / 0.6884 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-05/0.8007, allocations: 14.22 kB / 0.6884 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.8007, allocations: 45.47 kB / 0.6884 GB, free: 102.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.776e-06/0.8007, allocations: 0 / 0.6884 GB, free: 102.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005435/0.8062, allocations: 2.14 MB / 0.6905 GB, free: 102.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.8062, allocations: 114.2 kB / 0.6906 GB, free: 102.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.8075, allocations: 0.9332 MB / 0.6916 GB, free: 102.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.8076, allocations: 37.7 kB / 0.6916 GB, free: 102.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.8079, allocations: 484.8 kB / 0.6921 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.8081, allocations: 272.8 kB / 0.6923 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.8081, allocations: 15.06 kB / 0.6923 GB, free: 101.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.8082, allocations: 343.5 kB / 0.6927 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.8088, allocations: 430.4 kB / 0.6931 GB, free: 101.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.8094, allocations: 0.5168 MB / 0.6936 GB, free: 100.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.8101, allocations: 479 kB / 0.694 GB, free: 100.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.8101, allocations: 0 / 0.694 GB, free: 100.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005979/0.8161, allocations: 2.388 MB / 0.6964 GB, free: 100 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.8162, allocations: 0.6252 MB / 0.697 GB, free: 99.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.8162, allocations: 3.938 kB / 0.697 GB, free: 99.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00376/0.82, allocations: 1.019 MB / 0.698 GB, free: 99.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/0.8209, allocations: 162.1 kB / 0.6981 GB, free: 99.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007712/0.8286, allocations: 4.443 MB / 0.7025 GB, free: 96.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/0.8305, allocations: 178.1 kB / 0.7026 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/0.8307, allocations: 31.95 kB / 0.7027 GB, free: 96.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.8307, allocations: 7.438 kB / 0.7027 GB, free: 96.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006057/0.8368, allocations: 2.251 MB / 0.7049 GB, free: 95.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.8368, allocations: 3.312 kB / 0.7049 GB, free: 95.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00368/0.8405, allocations: 1.014 MB / 0.7059 GB, free: 95.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/0.8414, allocations: 142.5 kB / 0.706 GB, free: 95.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00752/0.8489, allocations: 4.446 MB / 0.7103 GB, free: 92.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.8505, allocations: 156.4 kB / 0.7105 GB, free: 91.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.8507, allocations: 30.89 kB / 0.7105 GB, free: 91.88 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.0003206/0.851, allocations: 149.7 kB / 0.7107 GB, free: 91.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.8514, allocations: 118.5 kB / 0.7108 GB, free: 91.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/0.8568, allocations: 2.245 MB / 0.713 GB, free: 89.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.8568, allocations: 12 kB / 0.713 GB, free: 89.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.8568, allocations: 4 kB / 0.713 GB, free: 89.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.8568, allocations: 3.656 kB / 0.713 GB, free: 89.77 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.007496/0.8644, allocations: 3.832 MB / 0.7167 GB, free: 86.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.8644, allocations: 0 / 0.7167 GB, free: 86.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007506/0.8651, allocations: 110.7 kB / 0.7168 GB, free: 86.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002584/0.8677, allocations: 0.8491 MB / 0.7177 GB, free: 85.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.8679, allocations: 24 kB / 0.7177 GB, free: 85.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005059/0.873, allocations: 3.368 MB / 0.721 GB, free: 82.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.873, allocations: 0 / 0.721 GB, free: 82.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006138/0.8791, allocations: 2.895 MB / 0.7238 GB, free: 80.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/0.8796, allocations: 230 kB / 0.724 GB, free: 79.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/0.88, allocations: 16 kB / 0.724 GB, free: 79.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.8813, allocations: 134.9 kB / 0.7242 GB, free: 79.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/0.8816, allocations: 130.7 kB / 0.7243 GB, free: 79.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.8817, allocations: 20 kB / 0.7243 GB, free: 79.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.8827, allocations: 0.723 MB / 0.725 GB, free: 78.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8828, allocations: 0 / 0.725 GB, free: 78.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001612/0.8844, allocations: 0.5487 MB / 0.7255 GB, free: 78.45 MB / 490.7 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 () * 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.0002955/0.8847, allocations: 153.6 kB / 0.7257 GB, free: 78.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006419/0.8911, allocations: 3.11 MB / 0.7287 GB, free: 75.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.8911, allocations: 0 / 0.7287 GB, free: 75.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00239/0.8935, allocations: 1.214 MB / 0.7299 GB, free: 74.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007436/0.8943, allocations: 105.4 kB / 0.73 GB, free: 74.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.8978, allocations: 1.918 MB / 0.7319 GB, free: 72.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.8982, allocations: 1.112 MB / 0.733 GB, free: 71.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009515/0.8992, allocations: 211.2 kB / 0.7332 GB, free: 71.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.8994, allocations: 43.44 kB / 0.7332 GB, free: 71.24 MB / 490.7 MB Notification: Performance of SimCode: time 7.82e-07/0.8994, allocations: 0 / 0.7332 GB, free: 71.24 MB / 490.7 MB Notification: Performance of Templates: time 0.0299/0.9293, allocations: 23.36 MB / 0.756 GB, free: 48.62 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)