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.001497/0.001497, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.275/1.275, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0007946/0.0007946, allocations: 83.22 kB / 266.6 MB, free: 9.277 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.06406/0.06406, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2811/0.2811, allocations: 78.03 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.771e-05, allocations: 7.938 kB / 0.5218 GB, free: 23.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09674, allocations: 69.33 MB / 0.5895 GB, free: 2.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3405/0.4373, allocations: 102.7 MB / 0.6897 GB, free: 12.82 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.4376, allocations: 86.25 kB / 0.6898 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07849/0.5161, allocations: 29.09 MB / 0.7182 GB, free: 4.305 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5161, allocations: 0 / 0.7182 GB, free: 4.305 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.413e-05/0.5162, allocations: 28 kB / 0.7182 GB, free: 4.277 MB / 458.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.0034/0.5196, allocations: 1.466 MB / 0.7197 GB, free: 2.848 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.5196, allocations: 11.98 kB / 0.7197 GB, free: 2.836 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.5219, allocations: 422.1 kB / 0.7201 GB, free: 2.453 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.5232, allocations: 0.8759 MB / 0.7209 GB, free: 1.777 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/0.5235, allocations: 240.6 kB / 0.7212 GB, free: 1.531 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.5236, allocations: 69.78 kB / 0.7212 GB, free: 1.484 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.525, allocations: 0.8564 MB / 0.7221 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.5251, allocations: 0 / 0.7221 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/0.5252, allocations: 28.44 kB / 0.7221 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.5252, allocations: 16 kB / 0.7221 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.5265, allocations: 0.7761 MB / 0.7229 GB, free: 456 kB / 458.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.00606/0.5325, allocations: 3.623 MB / 0.7264 GB, free: 13.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01413/0.5467, allocations: 3.998 MB / 0.7303 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007079/0.5474, allocations: 487.3 kB / 0.7308 GB, free: 9.945 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.815e-05/0.5475, allocations: 16.77 kB / 0.7308 GB, free: 9.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.5476, allocations: 39.22 kB / 0.7308 GB, free: 9.887 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 2.955e-06/0.5476, allocations: 0 / 0.7308 GB, free: 9.887 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.005887/0.5535, allocations: 2.139 MB / 0.7329 GB, free: 8.176 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.5535, allocations: 111.6 kB / 0.733 GB, free: 8.043 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.5548, allocations: 0.936 MB / 0.734 GB, free: 7.367 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-05/0.5548, allocations: 39.89 kB / 0.734 GB, free: 7.332 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.5552, allocations: 484.6 kB / 0.7345 GB, free: 7.074 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.5554, allocations: 278.2 kB / 0.7347 GB, free: 6.836 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.932e-05/0.5555, allocations: 14.44 kB / 0.7347 GB, free: 6.832 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5556, allocations: 334.8 kB / 0.7351 GB, free: 6.512 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006659/0.5563, allocations: 432.5 kB / 0.7355 GB, free: 6.289 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00073/0.557, allocations: 0.526 MB / 0.736 GB, free: 5.949 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.5577, allocations: 477.4 kB / 0.7364 GB, free: 5.684 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.5578, allocations: 0 / 0.7364 GB, free: 5.684 MB / 474.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006655/0.5644, allocations: 2.392 MB / 0.7388 GB, free: 3.777 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.5647, allocations: 0.6214 MB / 0.7394 GB, free: 3.125 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.5647, allocations: 4 kB / 0.7394 GB, free: 3.121 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004012/0.5687, allocations: 1.021 MB / 0.7404 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008117/0.5695, allocations: 158.8 kB / 0.7405 GB, free: 2.086 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008057/0.5776, allocations: 4.44 MB / 0.7449 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.5789, allocations: 191.1 kB / 0.745 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.579, allocations: 20 kB / 0.7451 GB, free: 14.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.5791, allocations: 4 kB / 0.7451 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006444/0.5855, allocations: 2.257 MB / 0.7473 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5855, allocations: 4 kB / 0.7473 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003887/0.5894, allocations: 1.009 MB / 0.7483 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/0.5902, allocations: 143.8 kB / 0.7484 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00833/0.5985, allocations: 4.442 MB / 0.7527 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.6, allocations: 171.2 kB / 0.7529 GB, free: 6.164 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-05/0.6001, allocations: 27.98 kB / 0.7529 GB, free: 6.137 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.0002623/0.6003, allocations: 152.7 kB / 0.7531 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.6005, allocations: 110.6 kB / 0.7532 GB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006103/0.6067, allocations: 2.24 MB / 0.7554 GB, free: 3.609 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.6067, allocations: 11.95 kB / 0.7554 GB, free: 3.598 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6067, allocations: 7.984 kB / 0.7554 GB, free: 3.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.6067, allocations: 0 / 0.7554 GB, free: 3.59 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.008029/0.6147, allocations: 3.846 MB / 0.7591 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6148, allocations: 0 / 0.7591 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007336/0.6155, allocations: 107.9 kB / 0.7592 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/0.6184, allocations: 0.8488 MB / 0.7601 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-05/0.6185, allocations: 16 kB / 0.7601 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005769/0.6242, allocations: 3.358 MB / 0.7634 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6243, allocations: 4 kB / 0.7634 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006834/0.6311, allocations: 2.893 MB / 0.7662 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.6315, allocations: 235.5 kB / 0.7664 GB, free: 8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.6317, allocations: 16 kB / 0.7664 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.6329, allocations: 127.9 kB / 0.7666 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/0.6333, allocations: 136.5 kB / 0.7667 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.782e-05/0.6334, allocations: 23.98 kB / 0.7667 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00107/0.6345, allocations: 0.7305 MB / 0.7674 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6345, allocations: 0 / 0.7674 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001556/0.636, allocations: 0.5538 MB / 0.768 GB, free: 6.402 MB / 0.4948 GB 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.0002953/0.6364, allocations: 151.1 kB / 0.7681 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007057/0.6434, allocations: 3.097 MB / 0.7711 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6434, allocations: 0 / 0.7711 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002751/0.6462, allocations: 1.229 MB / 0.7723 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.6469, allocations: 92.39 kB / 0.7724 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.6508, allocations: 1.911 MB / 0.7743 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/0.6514, allocations: 1.118 MB / 0.7754 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009696/0.6524, allocations: 208.9 kB / 0.7756 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/0.6527, allocations: 43.44 kB / 0.7756 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.6527, allocations: 4 kB / 0.7756 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.03555/0.6882, allocations: 23.4 MB / 0.7985 GB, free: 6.914 MB / 0.5261 GB 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)