Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.001049/0.001049, allocations: 175 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.324/1.324, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0009529/0.0009528, allocations: 89.06 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4831/0.4831, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.326e-05, allocations: 4 kB / 492.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4197, allocations: 69.5 MB / 0.5491 GB, free: 19.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.5562, allocations: 101.8 MB / 0.6485 GB, free: 13.84 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.5565, allocations: 75.95 kB / 0.6486 GB, free: 13.76 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.425/0.9815, allocations: 29.98 MB / 0.6778 GB, free: 105 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.9816, allocations: 0 / 0.6778 GB, free: 105 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001966/0.9818, allocations: 22.64 kB / 0.6779 GB, free: 105 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.004732/0.9865, allocations: 1.461 MB / 0.6793 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.9866, allocations: 14.28 kB / 0.6793 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.9894, allocations: 417.8 kB / 0.6797 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.9915, allocations: 0.8666 MB / 0.6805 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003104/0.9918, allocations: 248.8 kB / 0.6808 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/0.9922, allocations: 70.31 kB / 0.6809 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.9945, allocations: 0.8443 MB / 0.6817 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.9946, allocations: 4.516 kB / 0.6817 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.9947, allocations: 27.97 kB / 0.6817 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.9947, allocations: 15.31 kB / 0.6817 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.9964, allocations: 0.7788 MB / 0.6825 GB, free: 103.9 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.009239/1.006, allocations: 3.621 MB / 0.686 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01422/1.02, allocations: 3.999 MB / 0.6899 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/1.021, allocations: 491 kB / 0.6904 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/1.021, allocations: 8.547 kB / 0.6904 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/1.021, allocations: 40.88 kB / 0.6904 GB, free: 102.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.987e-06/1.021, allocations: 0 / 0.6904 GB, free: 102.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.005967/1.027, allocations: 2.144 MB / 0.6925 GB, free: 102.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/1.027, allocations: 110.6 kB / 0.6926 GB, free: 102.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/1.029, allocations: 0.9329 MB / 0.6935 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/1.029, allocations: 36.89 kB / 0.6936 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/1.029, allocations: 474.6 kB / 0.694 GB, free: 101.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/1.03, allocations: 282.6 kB / 0.6943 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.562e-05/1.03, allocations: 15.81 kB / 0.6943 GB, free: 101.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/1.03, allocations: 340.4 kB / 0.6946 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006741/1.031, allocations: 435.8 kB / 0.6951 GB, free: 100.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/1.031, allocations: 0.5167 MB / 0.6956 GB, free: 100.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006971/1.032, allocations: 482.2 kB / 0.696 GB, free: 100.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.032, allocations: 0 / 0.696 GB, free: 100.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.006426/1.038, allocations: 2.389 MB / 0.6984 GB, free: 99.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/1.039, allocations: 0.624 MB / 0.699 GB, free: 99.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.039, allocations: 0 / 0.699 GB, free: 99.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003984/1.043, allocations: 1.015 MB / 0.7 GB, free: 98.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.044, allocations: 159 kB / 0.7001 GB, free: 98.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007978/1.052, allocations: 4.455 MB / 0.7045 GB, free: 96.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/1.054, allocations: 180.5 kB / 0.7046 GB, free: 96.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/1.054, allocations: 30.41 kB / 0.7047 GB, free: 96.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/1.054, allocations: 3.844 kB / 0.7047 GB, free: 96.09 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006052/1.06, allocations: 2.259 MB / 0.7069 GB, free: 95.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/1.06, allocations: 0 / 0.7069 GB, free: 95.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003675/1.064, allocations: 1.01 MB / 0.7079 GB, free: 95.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/1.065, allocations: 148.4 kB / 0.708 GB, free: 94.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007557/1.072, allocations: 4.448 MB / 0.7123 GB, free: 90.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/1.074, allocations: 164 kB / 0.7125 GB, free: 90.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.074, allocations: 31.52 kB / 0.7125 GB, free: 90.66 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.0003711/1.075, allocations: 146.2 kB / 0.7127 GB, free: 90.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/1.075, allocations: 114.6 kB / 0.7128 GB, free: 90.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005778/1.081, allocations: 2.244 MB / 0.715 GB, free: 88.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/1.081, allocations: 8 kB / 0.715 GB, free: 88.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.081, allocations: 4 kB / 0.715 GB, free: 88.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.081, allocations: 2.719 kB / 0.715 GB, free: 88.56 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.009707/1.091, allocations: 3.837 MB / 0.7187 GB, free: 85.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.091, allocations: 0 / 0.7187 GB, free: 85.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.092, allocations: 107.4 kB / 0.7188 GB, free: 85.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003679/1.096, allocations: 0.8552 MB / 0.7197 GB, free: 84.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/1.096, allocations: 20 kB / 0.7197 GB, free: 84.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00722/1.103, allocations: 3.37 MB / 0.723 GB, free: 81.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.103, allocations: 0 / 0.723 GB, free: 81.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009244/1.112, allocations: 2.896 MB / 0.7258 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007033/1.113, allocations: 226.5 kB / 0.726 GB, free: 78.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/1.113, allocations: 20 kB / 0.726 GB, free: 78.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/1.115, allocations: 129 kB / 0.7262 GB, free: 78.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004874/1.116, allocations: 135.9 kB / 0.7263 GB, free: 78.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.193e-05/1.116, allocations: 16 kB / 0.7263 GB, free: 78.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001359/1.117, allocations: 0.7254 MB / 0.727 GB, free: 77.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/1.117, allocations: 0 / 0.727 GB, free: 77.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002171/1.119, allocations: 0.5537 MB / 0.7276 GB, free: 77.22 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.0003742/1.12, allocations: 151.9 kB / 0.7277 GB, free: 77.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009052/1.129, allocations: 3.098 MB / 0.7307 GB, free: 74.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.129, allocations: 4 kB / 0.7307 GB, free: 74.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003566/1.132, allocations: 1.217 MB / 0.7319 GB, free: 72.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.134, allocations: 96.92 kB / 0.732 GB, free: 72.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/1.139, allocations: 1.931 MB / 0.7339 GB, free: 71.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/1.139, allocations: 1.102 MB / 0.735 GB, free: 70.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001418/1.141, allocations: 206 kB / 0.7352 GB, free: 70.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/1.141, allocations: 55.19 kB / 0.7352 GB, free: 70 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/1.141, allocations: 0 / 0.7352 GB, free: 70 MB / 490.7 MB Notification: Performance of Templates: time 0.04561/1.187, allocations: 23.38 MB / 0.7581 GB, free: 47.16 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)