Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00834/0.00834, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.4 MB / 221.2 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 102.8 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09047/0.09047, allocations: 12.6 MB / 330.4 MB, free: 10.31 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5002/0.5002, allocations: 78.52 MB / 460 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005135/0.0005134, allocations: 20.03 kB / 0.5285 GB, free: 35.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1566, allocations: 69.33 MB / 0.5962 GB, free: 3.855 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5192/0.6759, allocations: 102.8 MB / 0.6965 GB, free: 99.23 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.6763, allocations: 82.94 kB / 0.6966 GB, free: 99.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08149/0.7578, allocations: 29.15 MB / 0.7251 GB, free: 85.83 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7578, allocations: 0 / 0.7251 GB, free: 85.83 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.208e-05/0.7579, allocations: 24 kB / 0.7251 GB, free: 85.8 MB / 474.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.005117/0.763, allocations: 1.816 MB / 0.7269 GB, free: 83.94 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.331e-05/0.7631, allocations: 15.98 kB / 0.7269 GB, free: 83.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.7655, allocations: 418.1 kB / 0.7273 GB, free: 83.51 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.7675, allocations: 0.9582 MB / 0.7282 GB, free: 82.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/0.7677, allocations: 239.5 kB / 0.7284 GB, free: 82.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.7679, allocations: 71.91 kB / 0.7285 GB, free: 82.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.7696, allocations: 1.003 MB / 0.7295 GB, free: 81.14 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.7697, allocations: 4 kB / 0.7295 GB, free: 81.13 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/0.7698, allocations: 27.98 kB / 0.7295 GB, free: 81.11 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.7698, allocations: 16 kB / 0.7295 GB, free: 81.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.7715, allocations: 0.9656 MB / 0.7305 GB, free: 80.12 MB / 474.7 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.005823/0.7773, allocations: 3.616 MB / 0.734 GB, free: 76.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/0.7905, allocations: 4.282 MB / 0.7382 GB, free: 72.05 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.7907, allocations: 12.64 kB / 0.7382 GB, free: 72.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.7907, allocations: 47.2 kB / 0.7382 GB, free: 71.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 4.117e-06/0.7907, allocations: 0 / 0.7382 GB, free: 71.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.01228/0.803, allocations: 4.302 MB / 0.7424 GB, free: 67.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.8031, allocations: 111.5 kB / 0.7425 GB, free: 67.47 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.8051, allocations: 1.02 MB / 0.7435 GB, free: 66.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002216/0.8054, allocations: 41.7 kB / 0.7436 GB, free: 66.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.8057, allocations: 484.9 kB / 0.744 GB, free: 65.91 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.8059, allocations: 272 kB / 0.7443 GB, free: 65.64 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.806, allocations: 20 kB / 0.7443 GB, free: 65.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.8061, allocations: 338 kB / 0.7446 GB, free: 65.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.8071, allocations: 0.5642 MB / 0.7452 GB, free: 64.72 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.8082, allocations: 0.6781 MB / 0.7459 GB, free: 64.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.8093, allocations: 0.6207 MB / 0.7465 GB, free: 63.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8093, allocations: 0 / 0.7465 GB, free: 63.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.007247/0.8166, allocations: 2.806 MB / 0.7492 GB, free: 60.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.8168, allocations: 0.6313 MB / 0.7498 GB, free: 59.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.8168, allocations: 3.984 kB / 0.7498 GB, free: 59.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004327/0.8211, allocations: 1.234 MB / 0.751 GB, free: 58.65 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.8222, allocations: 155.8 kB / 0.7512 GB, free: 58.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.8327, allocations: 5.575 MB / 0.7566 GB, free: 52.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.8347, allocations: 183.2 kB / 0.7568 GB, free: 52.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.8349, allocations: 28 kB / 0.7568 GB, free: 52.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.835, allocations: 4 kB / 0.7568 GB, free: 52.57 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007428/0.8424, allocations: 2.621 MB / 0.7594 GB, free: 49.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.8424, allocations: 0 / 0.7594 GB, free: 49.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004369/0.8468, allocations: 1.24 MB / 0.7606 GB, free: 48.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.8479, allocations: 147.8 kB / 0.7607 GB, free: 48.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.8585, allocations: 5.582 MB / 0.7662 GB, free: 42.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.8605, allocations: 167.2 kB / 0.7664 GB, free: 42.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/0.8607, allocations: 28 kB / 0.7664 GB, free: 42.64 MB / 474.7 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 (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.001078/0.8618, allocations: 347.7 kB / 0.7667 GB, free: 42.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005377/0.8624, allocations: 114.6 kB / 0.7668 GB, free: 42.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006871/0.8692, allocations: 2.646 MB / 0.7694 GB, free: 39.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.8693, allocations: 8 kB / 0.7694 GB, free: 39.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/0.8693, allocations: 7.953 kB / 0.7694 GB, free: 39.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.8693, allocations: 3.984 kB / 0.7694 GB, free: 39.5 MB / 474.7 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.00938/0.8787, allocations: 4.236 MB / 0.7736 GB, free: 35.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.8788, allocations: 4 kB / 0.7736 GB, free: 35.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/0.8795, allocations: 111.9 kB / 0.7737 GB, free: 35.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003145/0.8827, allocations: 1.076 MB / 0.7747 GB, free: 33.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.8828, allocations: 20 kB / 0.7747 GB, free: 33.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007285/0.8901, allocations: 4.287 MB / 0.7789 GB, free: 29.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8902, allocations: 0 / 0.7789 GB, free: 29.53 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008209/0.8984, allocations: 3.452 MB / 0.7823 GB, free: 26.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.899, allocations: 227.5 kB / 0.7825 GB, free: 25.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/0.8994, allocations: 16 kB / 0.7825 GB, free: 25.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.9008, allocations: 131.9 kB / 0.7827 GB, free: 25.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003811/0.9012, allocations: 136.4 kB / 0.7828 GB, free: 25.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-05/0.9013, allocations: 27.94 kB / 0.7828 GB, free: 25.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002227/0.9036, allocations: 0.8116 MB / 0.7836 GB, free: 24.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.9036, allocations: 0 / 0.7836 GB, free: 24.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003606/0.9072, allocations: 0.5461 MB / 0.7841 GB, free: 24.13 MB / 474.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 () * 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.0005219/0.9077, allocations: 151.6 kB / 0.7843 GB, free: 23.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008156/0.9159, allocations: 3.497 MB / 0.7877 GB, free: 20.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.9159, allocations: 0 / 0.7877 GB, free: 20.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003096/0.919, allocations: 1.377 MB / 0.789 GB, free: 18.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.9207, allocations: 104.8 kB / 0.7891 GB, free: 18.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005917/0.9266, allocations: 2.713 MB / 0.7918 GB, free: 16.08 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/0.9274, allocations: 1.105 MB / 0.7929 GB, free: 14.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008096/0.9282, allocations: 125.9 kB / 0.793 GB, free: 14.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/0.9286, allocations: 63.42 kB / 0.7931 GB, free: 14.76 MB / 474.7 MB Notification: Performance of SimCode: time 1.222e-06/0.9286, allocations: 0 / 0.7931 GB, free: 14.76 MB / 474.7 MB Notification: Performance of Templates: time 0.03652/0.9651, allocations: 21.53 MB / 0.8141 GB, free: 9.27 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)