Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 221.4 MB / 234.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008061/0.0008059, allocations: 98.06 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4774/0.4774, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.466e-05, allocations: 4 kB / 491.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3494, allocations: 69.35 MB / 0.548 GB, free: 20.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.4803, allocations: 101.1 MB / 0.6467 GB, free: 15.47 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.4805, allocations: 83.89 kB / 0.6468 GB, free: 15.39 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08049/0.561, allocations: 29.79 MB / 0.6759 GB, free: 1.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.5611, allocations: 3.984 kB / 0.6759 GB, free: 1.406 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001185/0.5612, allocations: 20 kB / 0.6759 GB, free: 1.387 MB / 490.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.3387/0.8999, allocations: 1.457 MB / 0.6773 GB, free: 104.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.9, allocations: 13.06 kB / 0.6773 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003188/0.9032, allocations: 414.5 kB / 0.6777 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.9055, allocations: 0.8621 MB / 0.6786 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.9058, allocations: 243.4 kB / 0.6788 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.906, allocations: 72.66 kB / 0.6789 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.9079, allocations: 0.852 MB / 0.6797 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.908, allocations: 7.203 kB / 0.6797 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-05/0.9081, allocations: 24.06 kB / 0.6797 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.9081, allocations: 15.28 kB / 0.6798 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.9097, allocations: 0.7785 MB / 0.6805 GB, free: 104 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 preOpt removeSimpleEquations (simulation): time 0.007702/0.9174, allocations: 3.621 MB / 0.6841 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01451/0.932, allocations: 4.007 MB / 0.688 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.9332, allocations: 478.6 kB / 0.6884 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.9333, allocations: 15.78 kB / 0.6884 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.9334, allocations: 45.3 kB / 0.6885 GB, free: 103 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.316e-06/0.9334, allocations: 0 / 0.6885 GB, free: 103 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.006045/0.9394, allocations: 2.137 MB / 0.6906 GB, free: 102.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.9395, allocations: 115.2 kB / 0.6907 GB, free: 102.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.9412, allocations: 0.9343 MB / 0.6916 GB, free: 102.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.9414, allocations: 39.77 kB / 0.6916 GB, free: 102.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/0.9418, allocations: 482.8 kB / 0.6921 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.9422, allocations: 271.3 kB / 0.6923 GB, free: 101.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.9423, allocations: 15.66 kB / 0.6924 GB, free: 101.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9424, allocations: 343.8 kB / 0.6927 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000846/0.9433, allocations: 424.6 kB / 0.6931 GB, free: 101.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007027/0.944, allocations: 0.5241 MB / 0.6936 GB, free: 101 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.9447, allocations: 475.9 kB / 0.6941 GB, free: 100.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9447, allocations: 0 / 0.6941 GB, free: 100.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006347/0.9511, allocations: 2.391 MB / 0.6964 GB, free: 100.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.9513, allocations: 0.6231 MB / 0.697 GB, free: 99.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.9513, allocations: 0.6562 kB / 0.697 GB, free: 99.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003862/0.9552, allocations: 1.016 MB / 0.698 GB, free: 99.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009922/0.9562, allocations: 163.2 kB / 0.6982 GB, free: 99.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007853/0.964, allocations: 4.454 MB / 0.7025 GB, free: 96.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.9661, allocations: 174.8 kB / 0.7027 GB, free: 96.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.9662, allocations: 27.94 kB / 0.7027 GB, free: 96.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.9662, allocations: 7 kB / 0.7027 GB, free: 96.48 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00605/0.9723, allocations: 2.26 MB / 0.7049 GB, free: 95.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.9723, allocations: 2.812 kB / 0.7049 GB, free: 95.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00369/0.976, allocations: 1.011 MB / 0.7059 GB, free: 95.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008882/0.9769, allocations: 140.5 kB / 0.706 GB, free: 95.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007499/0.9844, allocations: 4.449 MB / 0.7104 GB, free: 92.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.9861, allocations: 168.8 kB / 0.7105 GB, free: 91.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.921e-05/0.9862, allocations: 24 kB / 0.7106 GB, free: 91.93 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.0002838/0.9865, allocations: 144.9 kB / 0.7107 GB, free: 91.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.9867, allocations: 110.6 kB / 0.7108 GB, free: 91.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005478/0.9922, allocations: 2.249 MB / 0.713 GB, free: 89.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.9923, allocations: 12 kB / 0.713 GB, free: 89.83 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.9923, allocations: 4 kB / 0.713 GB, free: 89.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.9923, allocations: 3.562 kB / 0.713 GB, free: 89.82 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.007392/0.9997, allocations: 3.83 MB / 0.7168 GB, free: 86.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.9997, allocations: 0 / 0.7168 GB, free: 86.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007477/1.001, allocations: 109.4 kB / 0.7169 GB, free: 86.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002547/1.003, allocations: 0.8505 MB / 0.7177 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/1.003, allocations: 20 kB / 0.7177 GB, free: 85.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005003/1.008, allocations: 3.374 MB / 0.721 GB, free: 82.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.008, allocations: 0 / 0.721 GB, free: 82.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006345/1.015, allocations: 2.892 MB / 0.7238 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/1.015, allocations: 228.5 kB / 0.724 GB, free: 79.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/1.015, allocations: 23.33 kB / 0.7241 GB, free: 79.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.017, allocations: 133.2 kB / 0.7242 GB, free: 79.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003732/1.017, allocations: 130.6 kB / 0.7243 GB, free: 79.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/1.017, allocations: 16 kB / 0.7243 GB, free: 79.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000944/1.018, allocations: 0.7295 MB / 0.7251 GB, free: 79.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.018, allocations: 0 / 0.7251 GB, free: 79.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001465/1.019, allocations: 0.5467 MB / 0.7256 GB, free: 78.5 MB / 490.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.000289/1.02, allocations: 155.6 kB / 0.7257 GB, free: 78.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006312/1.026, allocations: 3.111 MB / 0.7288 GB, free: 75.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/1.026, allocations: 0 / 0.7288 GB, free: 75.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002516/1.029, allocations: 1.219 MB / 0.73 GB, free: 74.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/1.03, allocations: 99.36 kB / 0.7301 GB, free: 74.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/1.033, allocations: 1.926 MB / 0.7319 GB, free: 72.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/1.034, allocations: 1.112 MB / 0.733 GB, free: 71.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009014/1.034, allocations: 207.8 kB / 0.7332 GB, free: 71.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/1.035, allocations: 46.48 kB / 0.7333 GB, free: 71.28 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/1.035, allocations: 0 / 0.7333 GB, free: 71.28 MB / 490.7 MB Notification: Performance of Templates: time 0.03289/1.068, allocations: 23.36 MB / 0.7561 GB, free: 48.69 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)