Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 175.8 kB / 7.647 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.0008223/0.0008223, allocations: 84.09 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.06453/0.06453, allocations: 12.59 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.4296/0.4296, allocations: 78.04 MB / 450.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.167e-05, allocations: 3.875 kB / 0.5147 GB, free: 41.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1288, allocations: 69.33 MB / 0.5824 GB, free: 340 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.2549, allocations: 99.82 MB / 0.6799 GB, free: 12.38 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.2551, allocations: 75.95 kB / 0.68 GB, free: 12.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.334/0.5892, allocations: 21.29 MB / 0.7007 GB, free: 97.76 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5892, allocations: 0 / 0.7007 GB, free: 97.76 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.108e-05/0.5893, allocations: 23.47 kB / 0.7008 GB, free: 97.75 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004059/0.5934, allocations: 1.258 MB / 0.702 GB, free: 97.13 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.5934, allocations: 9.406 kB / 0.702 GB, free: 97.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/0.5962, allocations: 385.1 kB / 0.7024 GB, free: 97.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.5978, allocations: 0.6107 MB / 0.703 GB, free: 96.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001819/0.598, allocations: 128.5 kB / 0.7031 GB, free: 96.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.5982, allocations: 47.34 kB / 0.7031 GB, free: 96.68 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001229/0.5995, allocations: 0.55 MB / 0.7037 GB, free: 96.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.6007, allocations: 0.6107 MB / 0.7043 GB, free: 96.62 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.6007, allocations: 4.938 kB / 0.7043 GB, free: 96.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.6008, allocations: 0 / 0.7043 GB, free: 96.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.6008, allocations: 12.66 kB / 0.7043 GB, free: 96.62 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.005518/0.6064, allocations: 2.772 MB / 0.707 GB, free: 95.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.6187, allocations: 3.688 MB / 0.7106 GB, free: 95.49 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/0.6195, allocations: 376.2 kB / 0.711 GB, free: 95.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.6196, allocations: 7.188 kB / 0.711 GB, free: 95.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.6197, allocations: 42.97 kB / 0.711 GB, free: 95.44 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 3.486e-06/0.6197, allocations: 0 / 0.711 GB, free: 95.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.005291/0.625, allocations: 1.898 MB / 0.7129 GB, free: 95.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.625, allocations: 85.02 kB / 0.7129 GB, free: 95.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009399/0.626, allocations: 0.6212 MB / 0.7135 GB, free: 95.03 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.6261, allocations: 29.7 kB / 0.7136 GB, free: 95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.6263, allocations: 383.3 kB / 0.7139 GB, free: 94.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.6265, allocations: 219.7 kB / 0.7141 GB, free: 94.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.6266, allocations: 0 / 0.7141 GB, free: 94.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.219e-05/0.6266, allocations: 329.2 kB / 0.7145 GB, free: 94.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.6271, allocations: 329 kB / 0.7148 GB, free: 94.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.6276, allocations: 421 kB / 0.7152 GB, free: 93.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.628, allocations: 365.8 kB / 0.7155 GB, free: 93.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6281, allocations: 0.8438 kB / 0.7155 GB, free: 93.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00557/0.6336, allocations: 2.106 MB / 0.7176 GB, free: 93.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.6338, allocations: 0.7131 MB / 0.7183 GB, free: 92.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.6338, allocations: 3.375 kB / 0.7183 GB, free: 92.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003662/0.6375, allocations: 1.008 MB / 0.7193 GB, free: 91.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.6381, allocations: 107.9 kB / 0.7194 GB, free: 91.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007079/0.6452, allocations: 4.298 MB / 0.7236 GB, free: 87.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.6464, allocations: 107.4 kB / 0.7237 GB, free: 86.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.6465, allocations: 31.98 kB / 0.7237 GB, free: 86.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.6466, allocations: 7.938 kB / 0.7237 GB, free: 86.93 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005508/0.6521, allocations: 1.991 MB / 0.7257 GB, free: 84.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.6521, allocations: 0 / 0.7257 GB, free: 84.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003525/0.6556, allocations: 1.006 MB / 0.7266 GB, free: 83.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.6562, allocations: 99.89 kB / 0.7267 GB, free: 83.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006704/0.6629, allocations: 4.306 MB / 0.7309 GB, free: 79.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.6639, allocations: 103.2 kB / 0.731 GB, free: 79.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.664, allocations: 23.98 kB / 0.7311 GB, free: 79.27 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real 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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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.000281/0.6643, allocations: 120.8 kB / 0.7312 GB, free: 79.15 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/0.6646, allocations: 86.88 kB / 0.7313 GB, free: 79.06 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004824/0.6694, allocations: 1.954 MB / 0.7332 GB, free: 77.08 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.6694, allocations: 11.98 kB / 0.7332 GB, free: 77.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.6694, allocations: 4 kB / 0.7332 GB, free: 77.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.6695, allocations: 4 kB / 0.7332 GB, free: 77.06 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006266/0.6757, allocations: 3.186 MB / 0.7363 GB, free: 73.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.6758, allocations: 4 kB / 0.7363 GB, free: 73.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.6764, allocations: 79.89 kB / 0.7364 GB, free: 73.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/0.6789, allocations: 0.8458 MB / 0.7372 GB, free: 72.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.881e-05/0.679, allocations: 3.953 kB / 0.7372 GB, free: 72.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004761/0.6838, allocations: 3.274 MB / 0.7404 GB, free: 69.47 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.6838, allocations: 0 / 0.7404 GB, free: 69.47 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/0.6892, allocations: 2.522 MB / 0.7429 GB, free: 66.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.6896, allocations: 187.8 kB / 0.743 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.6897, allocations: 4 kB / 0.743 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008364/0.6906, allocations: 67.94 kB / 0.7431 GB, free: 66.63 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.6908, allocations: 128.4 kB / 0.7432 GB, free: 66.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.6909, allocations: 20 kB / 0.7433 GB, free: 66.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005338/0.6914, allocations: 491.2 kB / 0.7437 GB, free: 66.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6915, allocations: 0 / 0.7437 GB, free: 66.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001317/0.6928, allocations: 443.2 kB / 0.7441 GB, free: 65.58 MB / 474.7 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 () * 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.0002466/0.693, allocations: 128.5 kB / 0.7443 GB, free: 65.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00568/0.6987, allocations: 2.706 MB / 0.7469 GB, free: 62.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.6987, allocations: 4.062 kB / 0.7469 GB, free: 62.63 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.7009, allocations: 1.093 MB / 0.748 GB, free: 61.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.7016, allocations: 56.94 kB / 0.748 GB, free: 61.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.7044, allocations: 1.46 MB / 0.7495 GB, free: 59.94 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.7047, allocations: 0.9956 MB / 0.7504 GB, free: 58.92 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005705/0.7053, allocations: 110.9 kB / 0.7505 GB, free: 58.81 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.7055, allocations: 39.44 kB / 0.7506 GB, free: 58.77 MB / 474.7 MB Notification: Performance of SimCode: time 7.81e-07/0.7055, allocations: 0 / 0.7506 GB, free: 58.77 MB / 474.7 MB Notification: Performance of Templates: time 0.02404/0.7295, allocations: 18.29 MB / 0.7684 GB, free: 40.52 MB / 474.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)