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.006009/0.006008, allocations: 172 kB / 15.11 MB, free: 5.969 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.429/1.429, allocations: 223.2 MB / 239 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 102.9 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5191/0.5191, allocations: 78.58 MB / 419.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003933, allocations: 12 kB / 499.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4712/0.4716, allocations: 69.35 MB / 0.5558 GB, free: 38.7 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.6194, allocations: 101.2 MB / 0.6546 GB, free: 5.344 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.6197, allocations: 79.95 kB / 0.6546 GB, free: 5.266 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08083/0.7006, allocations: 29.84 MB / 0.6838 GB, free: 7.289 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7006, allocations: 0 / 0.6838 GB, free: 7.289 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.016e-05/0.7007, allocations: 24.12 kB / 0.6838 GB, free: 7.266 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.004995/0.7057, allocations: 1.815 MB / 0.6856 GB, free: 5.398 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.7058, allocations: 11.97 kB / 0.6856 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.7081, allocations: 422 kB / 0.686 GB, free: 4.973 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.7103, allocations: 0.9422 MB / 0.6869 GB, free: 3.977 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.7106, allocations: 243.8 kB / 0.6871 GB, free: 3.699 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.7107, allocations: 68 kB / 0.6872 GB, free: 3.633 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.7128, allocations: 1.011 MB / 0.6882 GB, free: 2.605 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.7129, allocations: 0 / 0.6882 GB, free: 2.605 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.923e-05/0.713, allocations: 24 kB / 0.6882 GB, free: 2.582 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.713, allocations: 19.98 kB / 0.6882 GB, free: 2.562 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.715, allocations: 0.9617 MB / 0.6892 GB, free: 1.598 MB / 490.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.007106/0.7221, allocations: 3.621 MB / 0.6927 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01463/0.7368, allocations: 4.275 MB / 0.6969 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.7371, allocations: 16.64 kB / 0.6969 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.7372, allocations: 39.22 kB / 0.6969 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=76): time 4.899e-06/0.7372, allocations: 0 / 0.6969 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.0136/0.7508, allocations: 4.306 MB / 0.7011 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/0.7509, allocations: 115.5 kB / 0.7013 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002373/0.7533, allocations: 1.023 MB / 0.7023 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002634/0.7536, allocations: 41.7 kB / 0.7023 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.754, allocations: 473 kB / 0.7027 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.7544, allocations: 276 kB / 0.703 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.7544, allocations: 16 kB / 0.703 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.7546, allocations: 337.9 kB / 0.7033 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.7559, allocations: 0.5681 MB / 0.7039 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.7572, allocations: 0.6781 MB / 0.7046 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.7585, allocations: 0.6092 MB / 0.7052 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7585, allocations: 0 / 0.7052 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.008235/0.7668, allocations: 2.806 MB / 0.7079 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003093/0.7671, allocations: 0.6196 MB / 0.7085 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.7672, allocations: 3.953 kB / 0.7085 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004714/0.7719, allocations: 1.246 MB / 0.7097 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.773, allocations: 159.8 kB / 0.7099 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.7848, allocations: 5.587 MB / 0.7153 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.7867, allocations: 179.2 kB / 0.7155 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/0.7868, allocations: 24 kB / 0.7155 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.7868, allocations: 4 kB / 0.7155 GB, free: 6.07 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007759/0.7946, allocations: 2.621 MB / 0.7181 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.7947, allocations: 4 kB / 0.7181 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004605/0.7993, allocations: 1.239 MB / 0.7193 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.8003, allocations: 147.8 kB / 0.7194 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/0.8122, allocations: 5.572 MB / 0.7249 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.8141, allocations: 163.2 kB / 0.725 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-05/0.8142, allocations: 24 kB / 0.7251 GB, free: 12.16 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: 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: 7 * 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 (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.0007807/0.815, allocations: 341.9 kB / 0.7254 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.8153, allocations: 110.6 kB / 0.7255 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007226/0.8225, allocations: 2.65 MB / 0.7281 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.8226, allocations: 8 kB / 0.7281 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.8226, allocations: 4 kB / 0.7281 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/0.8227, allocations: 3.984 kB / 0.7281 GB, free: 9.016 MB / 0.5261 GB 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 postOpt removeSimpleEquations (simulation): time 0.011/0.8337, allocations: 4.236 MB / 0.7322 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.8337, allocations: 7.938 kB / 0.7322 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008028/0.8346, allocations: 119.8 kB / 0.7324 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00346/0.838, allocations: 1.071 MB / 0.7334 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.8382, allocations: 23.94 kB / 0.7334 GB, free: 3.457 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008461/0.8466, allocations: 4.286 MB / 0.7376 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.8467, allocations: 4.031 kB / 0.7376 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008875/0.8556, allocations: 3.452 MB / 0.741 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007511/0.8564, allocations: 227.5 kB / 0.7412 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.8566, allocations: 16 kB / 0.7412 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/0.8578, allocations: 135.9 kB / 0.7414 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004118/0.8582, allocations: 128.4 kB / 0.7415 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.8583, allocations: 20 kB / 0.7415 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001674/0.86, allocations: 0.8114 MB / 0.7423 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.51e-07/0.86, allocations: 0 / 0.7423 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001794/0.8618, allocations: 0.55 MB / 0.7428 GB, free: 9.641 MB / 0.5417 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 () * Number of clocked 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.0003421/0.8622, allocations: 156.7 kB / 0.743 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008623/0.8708, allocations: 3.49 MB / 0.7464 GB, free: 5.883 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.8709, allocations: 4 kB / 0.7464 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003362/0.8742, allocations: 1.373 MB / 0.7477 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.8755, allocations: 107.5 kB / 0.7478 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005463/0.881, allocations: 2.724 MB / 0.7505 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008821/0.8819, allocations: 1.108 MB / 0.7516 GB, free: 468 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007956/0.8827, allocations: 121.9 kB / 0.7517 GB, free: 344 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.883, allocations: 63.42 kB / 0.7517 GB, free: 280 kB / 0.5417 GB Notification: Performance of SimCode: time 4.027e-06/0.883, allocations: 0 / 0.7517 GB, free: 280 kB / 0.5417 GB Notification: Performance of Templates: time 0.3034/1.186, allocations: 21.5 MB / 0.7727 GB, free: 146.6 MB / 0.5573 GB 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)