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.007311/0.007311, allocations: 168.9 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.646/1.646, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0009838/0.0009837, allocations: 102.8 kB / 269.6 MB, free: 13.34 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.08713/0.08713, allocations: 12.59 MB / 330.4 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4887/0.4887, allocations: 78.52 MB / 460 MB, free: 3.449 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005721/0.0005722, allocations: 16.44 kB / 0.5285 GB, free: 35.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1794, allocations: 69.32 MB / 0.5962 GB, free: 3.801 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5197/0.6991, allocations: 100.6 MB / 0.6944 GB, free: 35.11 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.6994, allocations: 83.88 kB / 0.6945 GB, free: 35.11 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06147/0.7609, allocations: 21.61 MB / 0.7156 GB, free: 33.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.7609, allocations: 0 / 0.7156 GB, free: 33.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001044/0.761, allocations: 15.09 kB / 0.7156 GB, free: 33.11 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.005294/0.7663, allocations: 1.476 MB / 0.717 GB, free: 32.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.7664, allocations: 12.92 kB / 0.717 GB, free: 32.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/0.7692, allocations: 398 kB / 0.7174 GB, free: 32.31 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.7709, allocations: 0.6101 MB / 0.718 GB, free: 32.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.7712, allocations: 150.5 kB / 0.7182 GB, free: 31.92 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.7714, allocations: 58.12 kB / 0.7182 GB, free: 31.92 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.7732, allocations: 0.82 MB / 0.719 GB, free: 31.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.7733, allocations: 0 / 0.719 GB, free: 31.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.898e-05/0.7734, allocations: 31.5 kB / 0.719 GB, free: 31.83 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.7734, allocations: 12.81 kB / 0.7191 GB, free: 31.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.7749, allocations: 0.725 MB / 0.7198 GB, free: 31.82 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.004625/0.7795, allocations: 2.88 MB / 0.7226 GB, free: 31.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01289/0.7924, allocations: 3.905 MB / 0.7264 GB, free: 30.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.7926, allocations: 4.469 kB / 0.7264 GB, free: 30.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.7926, allocations: 38.84 kB / 0.7264 GB, free: 30.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 3.817e-06/0.7926, allocations: 0 / 0.7264 GB, free: 30.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.01117/0.8038, allocations: 3.893 MB / 0.7302 GB, free: 30.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.8039, allocations: 92.62 kB / 0.7303 GB, free: 29.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.8053, allocations: 0.6722 MB / 0.731 GB, free: 29.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.8054, allocations: 37.2 kB / 0.731 GB, free: 29.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.8057, allocations: 385.5 kB / 0.7314 GB, free: 29.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/0.8059, allocations: 234.5 kB / 0.7316 GB, free: 29.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.806, allocations: 14.84 kB / 0.7316 GB, free: 29.49 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.8061, allocations: 336.6 kB / 0.7319 GB, free: 29.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008572/0.807, allocations: 476.2 kB / 0.7324 GB, free: 29.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009064/0.8079, allocations: 0.5602 MB / 0.7329 GB, free: 29.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009162/0.8088, allocations: 0.4974 MB / 0.7334 GB, free: 29.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.8088, allocations: 0 / 0.7334 GB, free: 29.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006929/0.8158, allocations: 2.555 MB / 0.7359 GB, free: 28.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.816, allocations: 0.6973 MB / 0.7366 GB, free: 28.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.816, allocations: 3.906 kB / 0.7366 GB, free: 28.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004477/0.8205, allocations: 1.248 MB / 0.7378 GB, free: 28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.8211, allocations: 105.7 kB / 0.7379 GB, free: 28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.8326, allocations: 5.577 MB / 0.7434 GB, free: 26.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.8341, allocations: 130.8 kB / 0.7435 GB, free: 26.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.8342, allocations: 26.78 kB / 0.7435 GB, free: 26.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.8342, allocations: 7.5 kB / 0.7435 GB, free: 26.46 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006871/0.8411, allocations: 2.408 MB / 0.7459 GB, free: 26.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.8412, allocations: 3.906 kB / 0.7459 GB, free: 26.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004419/0.8456, allocations: 1.249 MB / 0.7471 GB, free: 26.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.8462, allocations: 101 kB / 0.7472 GB, free: 26.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.8569, allocations: 5.566 MB / 0.7526 GB, free: 24.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8583, allocations: 115 kB / 0.7527 GB, free: 24.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.8585, allocations: 19.47 kB / 0.7528 GB, free: 24.7 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(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 (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.0007965/0.8593, allocations: 292.8 kB / 0.753 GB, free: 24.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004322/0.8598, allocations: 85.81 kB / 0.7531 GB, free: 24.45 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006177/0.866, allocations: 2.401 MB / 0.7555 GB, free: 23.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.866, allocations: 7.812 kB / 0.7555 GB, free: 23.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.866, allocations: 7.906 kB / 0.7555 GB, free: 23.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.866, allocations: 0 / 0.7555 GB, free: 23.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008366/0.8744, allocations: 3.68 MB / 0.7591 GB, free: 22.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.8744, allocations: 0 / 0.7591 GB, free: 22.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005852/0.875, allocations: 86.92 kB / 0.7592 GB, free: 22.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003279/0.8783, allocations: 1.081 MB / 0.7602 GB, free: 22.13 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.8785, allocations: 14.75 kB / 0.7602 GB, free: 22.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008012/0.8865, allocations: 4.278 MB / 0.7644 GB, free: 20.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.8865, allocations: 7.938 kB / 0.7644 GB, free: 20.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007179/0.8937, allocations: 3.085 MB / 0.7674 GB, free: 19.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.8943, allocations: 184 kB / 0.7676 GB, free: 19.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/0.8947, allocations: 17.2 kB / 0.7676 GB, free: 19.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.8957, allocations: 81.66 kB / 0.7677 GB, free: 19.18 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000384/0.8961, allocations: 118.6 kB / 0.7678 GB, free: 19.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.8962, allocations: 24.39 kB / 0.7678 GB, free: 19.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009538/0.8972, allocations: 0.5274 MB / 0.7683 GB, free: 18.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8972, allocations: 0 / 0.7683 GB, free: 18.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002149/0.8994, allocations: 484.1 kB / 0.7688 GB, free: 18.91 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 () * 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.0003555/0.8997, allocations: 152.5 kB / 0.769 GB, free: 18.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00739/0.9071, allocations: 3.165 MB / 0.772 GB, free: 17.61 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.9071, allocations: 0 / 0.772 GB, free: 17.61 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002743/0.9099, allocations: 1.261 MB / 0.7733 GB, free: 17.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008016/0.9107, allocations: 61.97 kB / 0.7733 GB, free: 17.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.9149, allocations: 2.139 MB / 0.7754 GB, free: 15.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.9163, allocations: 0.9931 MB / 0.7764 GB, free: 30.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005349/0.9169, allocations: 72.84 kB / 0.7765 GB, free: 30.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.9171, allocations: 41.03 kB / 0.7765 GB, free: 30.85 MB / 490.7 MB Notification: Performance of SimCode: time 2.144e-06/0.9171, allocations: 0 / 0.7765 GB, free: 30.85 MB / 490.7 MB Notification: Performance of Templates: time 0.03237/0.9495, allocations: 18.57 MB / 0.7946 GB, free: 13.96 MB / 490.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)