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.001371/0.001372, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.3 MB / 213.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008493/0.0008489, allocations: 90.7 kB / 261.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06392/0.06392, allocations: 12.6 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4389/0.4389, allocations: 78.06 MB / 450.8 MB, free: 8.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.731e-05/1.734e-05, allocations: 2.062 kB / 0.5147 GB, free: 41.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 69.32 MB / 0.5824 GB, free: 328 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.2572, allocations: 102 MB / 0.682 GB, free: 10.18 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.2575, allocations: 83.95 kB / 0.6821 GB, free: 10.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3541/0.6116, allocations: 28.76 MB / 0.7102 GB, free: 98.42 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.6116, allocations: 3.938 kB / 0.7102 GB, free: 98.42 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001072/0.6117, allocations: 22.16 kB / 0.7102 GB, free: 98.41 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.003612/0.6153, allocations: 1.462 MB / 0.7116 GB, free: 97.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6154, allocations: 9.125 kB / 0.7116 GB, free: 97.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/0.6177, allocations: 423.8 kB / 0.712 GB, free: 97.35 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.6195, allocations: 0.8707 MB / 0.7129 GB, free: 96.92 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.6198, allocations: 229.6 kB / 0.7131 GB, free: 96.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.62, allocations: 40.91 kB / 0.7131 GB, free: 96.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/0.6213, allocations: 0.7505 MB / 0.7139 GB, free: 96.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.6225, allocations: 0.7587 MB / 0.7146 GB, free: 95.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.6225, allocations: 0 / 0.7146 GB, free: 95.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.6226, allocations: 3.938 kB / 0.7146 GB, free: 95.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.6226, allocations: 15.66 kB / 0.7146 GB, free: 95.93 MB / 474.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.005748/0.6284, allocations: 3.505 MB / 0.7181 GB, free: 93.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01262/0.641, allocations: 3.973 MB / 0.7219 GB, free: 89.55 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008116/0.6419, allocations: 463.7 kB / 0.7224 GB, free: 89.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.642, allocations: 12.77 kB / 0.7224 GB, free: 89.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.6421, allocations: 39.3 kB / 0.7224 GB, free: 89.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 2.995e-06/0.6421, allocations: 4 kB / 0.7224 GB, free: 89.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.005601/0.6477, allocations: 2.089 MB / 0.7245 GB, free: 86.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.6477, allocations: 111.6 kB / 0.7246 GB, free: 86.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.6493, allocations: 0.8589 MB / 0.7254 GB, free: 85.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.6494, allocations: 29.64 kB / 0.7254 GB, free: 85.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.6497, allocations: 492.6 kB / 0.7259 GB, free: 85.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.65, allocations: 264 kB / 0.7262 GB, free: 85.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.138e-05/0.6501, allocations: 0 / 0.7262 GB, free: 85.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.6502, allocations: 341.9 kB / 0.7265 GB, free: 84.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.6507, allocations: 414.6 kB / 0.7269 GB, free: 84.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006543/0.6514, allocations: 0.5029 MB / 0.7274 GB, free: 83.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.6521, allocations: 465.2 kB / 0.7278 GB, free: 83.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6521, allocations: 0 / 0.7278 GB, free: 83.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005909/0.658, allocations: 2.324 MB / 0.7301 GB, free: 81.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.6581, allocations: 0.6249 MB / 0.7307 GB, free: 80.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6582, allocations: 7.984 kB / 0.7307 GB, free: 80.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/0.6617, allocations: 0.9928 MB / 0.7317 GB, free: 79.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00085/0.6626, allocations: 159.8 kB / 0.7318 GB, free: 79.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006982/0.6696, allocations: 4.31 MB / 0.736 GB, free: 74.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.6712, allocations: 155.2 kB / 0.7362 GB, free: 74.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.6714, allocations: 24 kB / 0.7362 GB, free: 74.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.6714, allocations: 8 kB / 0.7362 GB, free: 74.62 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005549/0.677, allocations: 2.163 MB / 0.7383 GB, free: 72.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.677, allocations: 7.938 kB / 0.7383 GB, free: 72.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003477/0.6805, allocations: 0.9979 MB / 0.7393 GB, free: 71.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.6813, allocations: 143.8 kB / 0.7395 GB, free: 71.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/0.6879, allocations: 4.299 MB / 0.7437 GB, free: 66.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.6894, allocations: 139.3 kB / 0.7438 GB, free: 66.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.6896, allocations: 31.98 kB / 0.7438 GB, free: 66.71 MB / 474.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.0003155/0.6899, allocations: 118.2 kB / 0.7439 GB, free: 66.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.6902, allocations: 114.5 kB / 0.744 GB, free: 66.47 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005162/0.6954, allocations: 2.165 MB / 0.7462 GB, free: 64.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.6954, allocations: 8 kB / 0.7462 GB, free: 64.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.6954, allocations: 12 kB / 0.7462 GB, free: 64.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.6954, allocations: 7.969 kB / 0.7462 GB, free: 64.26 MB / 474.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.006938/0.7024, allocations: 3.688 MB / 0.7498 GB, free: 60.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.7024, allocations: 0 / 0.7498 GB, free: 60.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/0.7031, allocations: 111.8 kB / 0.7499 GB, free: 60.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002479/0.7056, allocations: 0.83 MB / 0.7507 GB, free: 59.56 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.685e-05/0.7057, allocations: 11.98 kB / 0.7507 GB, free: 59.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00472/0.7104, allocations: 3.275 MB / 0.7539 GB, free: 56.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.7105, allocations: 4 kB / 0.7539 GB, free: 56.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005901/0.7164, allocations: 2.831 MB / 0.7567 GB, free: 53.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.7168, allocations: 223.6 kB / 0.7569 GB, free: 53.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.717, allocations: 7.953 kB / 0.7569 GB, free: 53.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.7181, allocations: 119.9 kB / 0.757 GB, free: 52.92 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.7184, allocations: 132.5 kB / 0.7571 GB, free: 52.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.655e-05/0.7185, allocations: 27.92 kB / 0.7572 GB, free: 52.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007711/0.7192, allocations: 0.6588 MB / 0.7578 GB, free: 52.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7192, allocations: 0 / 0.7578 GB, free: 52.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00137/0.7206, allocations: 0.503 MB / 0.7583 GB, free: 51.59 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 () * 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.0002438/0.7209, allocations: 135.1 kB / 0.7584 GB, free: 51.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0059/0.7268, allocations: 3.019 MB / 0.7614 GB, free: 48.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7268, allocations: 0 / 0.7614 GB, free: 48.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/0.7291, allocations: 1.188 MB / 0.7625 GB, free: 47.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007686/0.7299, allocations: 80.39 kB / 0.7626 GB, free: 47.01 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.7332, allocations: 1.887 MB / 0.7645 GB, free: 45.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.7336, allocations: 1.111 MB / 0.7655 GB, free: 43.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008999/0.7346, allocations: 216.6 kB / 0.7657 GB, free: 43.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.7348, allocations: 47.44 kB / 0.7658 GB, free: 43.68 MB / 474.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7348, allocations: 0 / 0.7658 GB, free: 43.68 MB / 474.7 MB Notification: Performance of Templates: time 0.02698/0.7617, allocations: 21.2 MB / 0.7865 GB, free: 22.53 MB / 474.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)