Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.00103/0.00103, allocations: 90.05 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.509/0.509, allocations: 78.94 MB / 410.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.402e-05, allocations: 0 / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1522, allocations: 69.53 MB / 0.5424 GB, free: 5.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.5673, allocations: 98.91 MB / 0.639 GB, free: 15.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.5676, allocations: 79.95 kB / 0.6391 GB, free: 15.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0618/0.6294, allocations: 22.13 MB / 0.6607 GB, free: 9.059 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6295, allocations: 0 / 0.6607 GB, free: 9.059 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.678e-05/0.6295, allocations: 16 kB / 0.6607 GB, free: 9.043 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.003318/0.6329, allocations: 1.265 MB / 0.662 GB, free: 7.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.6329, allocations: 12.03 kB / 0.662 GB, free: 7.719 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.6353, allocations: 390.4 kB / 0.6624 GB, free: 7.336 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.6366, allocations: 0.5981 MB / 0.6629 GB, free: 6.699 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.6368, allocations: 130.3 kB / 0.6631 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.637, allocations: 43.89 kB / 0.6631 GB, free: 6.512 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001067/0.6381, allocations: 0.5556 MB / 0.6636 GB, free: 5.957 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.6392, allocations: 0.6095 MB / 0.6642 GB, free: 5.332 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.6392, allocations: 4 kB / 0.6642 GB, free: 5.328 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.6393, allocations: 0 / 0.6642 GB, free: 5.328 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.6393, allocations: 13.03 kB / 0.6643 GB, free: 5.316 MB / 474.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.005187/0.6445, allocations: 2.773 MB / 0.667 GB, free: 2.434 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/0.6577, allocations: 3.667 MB / 0.6705 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000863/0.6586, allocations: 375.6 kB / 0.6709 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.6588, allocations: 20.5 kB / 0.6709 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/0.6588, allocations: 39.12 kB / 0.671 GB, free: 14.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.577e-06/0.6588, allocations: 0 / 0.671 GB, free: 14.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005978/0.6648, allocations: 1.893 MB / 0.6728 GB, free: 12.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.6649, allocations: 85.67 kB / 0.6729 GB, free: 12.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.6664, allocations: 0.6135 MB / 0.6735 GB, free: 11.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.6665, allocations: 25.7 kB / 0.6735 GB, free: 11.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.6669, allocations: 385.8 kB / 0.6739 GB, free: 11.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000359/0.6673, allocations: 228.5 kB / 0.6741 GB, free: 11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.6674, allocations: 0 / 0.6741 GB, free: 11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6675, allocations: 333.9 kB / 0.6744 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006277/0.6681, allocations: 329.5 kB / 0.6747 GB, free: 10.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006788/0.6688, allocations: 418.7 kB / 0.6751 GB, free: 9.918 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.6695, allocations: 357.3 kB / 0.6755 GB, free: 9.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.6695, allocations: 0 / 0.6755 GB, free: 9.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006366/0.6759, allocations: 2.122 MB / 0.6775 GB, free: 7.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003922/0.6763, allocations: 0.7061 MB / 0.6782 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.6763, allocations: 3.984 kB / 0.6782 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004016/0.6803, allocations: 1.004 MB / 0.6792 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.681, allocations: 116.5 kB / 0.6793 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008367/0.6894, allocations: 4.295 MB / 0.6835 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.6906, allocations: 111.3 kB / 0.6836 GB, free: 1.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.6908, allocations: 24 kB / 0.6837 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.6908, allocations: 4 kB / 0.6837 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006181/0.697, allocations: 1.992 MB / 0.6856 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.697, allocations: 4 kB / 0.6856 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00402/0.7011, allocations: 1.005 MB / 0.6866 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.7017, allocations: 106.3 kB / 0.6867 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008756/0.7105, allocations: 4.305 MB / 0.6909 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.7118, allocations: 95.47 kB / 0.691 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.7119, allocations: 20 kB / 0.691 GB, free: 9.336 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real 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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0004096/0.7123, allocations: 122.3 kB / 0.6911 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.7127, allocations: 90.97 kB / 0.6912 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005809/0.7185, allocations: 1.97 MB / 0.6931 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.7185, allocations: 8 kB / 0.6931 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.7186, allocations: 4 kB / 0.6931 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.7186, allocations: 7.984 kB / 0.6932 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007829/0.7264, allocations: 3.17 MB / 0.6962 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/0.7265, allocations: 3.984 kB / 0.6963 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/0.7271, allocations: 79.91 kB / 0.6963 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002955/0.7301, allocations: 0.8483 MB / 0.6972 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.7302, allocations: 8 kB / 0.6972 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00591/0.7361, allocations: 3.274 MB / 0.7004 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.7361, allocations: 3.953 kB / 0.7004 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006357/0.7425, allocations: 2.53 MB / 0.7028 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.7429, allocations: 187.8 kB / 0.703 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.7431, allocations: 0 / 0.703 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009139/0.7441, allocations: 71.92 kB / 0.7031 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003292/0.7444, allocations: 124.3 kB / 0.7032 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/0.7445, allocations: 22.5 kB / 0.7032 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007809/0.7453, allocations: 483.2 kB / 0.7037 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7453, allocations: 0 / 0.7037 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001694/0.747, allocations: 447.3 kB / 0.7041 GB, free: 11.62 MB / 0.5105 GB 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 () * 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.0003411/0.7473, allocations: 135.1 kB / 0.7042 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006534/0.7539, allocations: 2.705 MB / 0.7069 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.7539, allocations: 4.062 kB / 0.7069 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.7565, allocations: 1.083 MB / 0.7079 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/0.7572, allocations: 59.25 kB / 0.708 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.7606, allocations: 1.454 MB / 0.7094 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.7612, allocations: 0.9956 MB / 0.7104 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006536/0.7619, allocations: 114.9 kB / 0.7105 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.7621, allocations: 35.44 kB / 0.7105 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of SimCode: time 8.02e-07/0.7621, allocations: 0 / 0.7105 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.0318/0.7939, allocations: 18.29 MB / 0.7284 GB, free: 2.711 MB / 0.5261 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)