Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.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.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008811/0.0008812, allocations: 174.4 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.298/1.298, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008602/0.0008601, allocations: 97.17 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4585/0.4585, allocations: 78.95 MB / 410.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.292e-05/1.294e-05, allocations: 0 / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 69.51 MB / 0.5424 GB, free: 5.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.4795, allocations: 98.79 MB / 0.6389 GB, free: 15.33 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.4797, allocations: 74.59 kB / 0.639 GB, free: 15.26 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06008/0.5399, allocations: 22.01 MB / 0.6605 GB, free: 9.305 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.5399, allocations: 0 / 0.6605 GB, free: 9.305 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.204e-05/0.54, allocations: 20 kB / 0.6605 GB, free: 9.285 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.003195/0.5432, allocations: 1.261 MB / 0.6617 GB, free: 7.977 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5432, allocations: 8.688 kB / 0.6617 GB, free: 7.969 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.5456, allocations: 394.4 kB / 0.6621 GB, free: 7.582 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.5468, allocations: 0.6098 MB / 0.6627 GB, free: 6.934 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.5469, allocations: 130.4 kB / 0.6628 GB, free: 6.789 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.5471, allocations: 35.91 kB / 0.6629 GB, free: 6.754 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00101/0.5481, allocations: 0.5548 MB / 0.6634 GB, free: 6.199 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.5492, allocations: 0.6173 MB / 0.664 GB, free: 5.566 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5492, allocations: 0.5625 kB / 0.664 GB, free: 5.566 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/0.5493, allocations: 3.984 kB / 0.664 GB, free: 5.562 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.5493, allocations: 12 kB / 0.664 GB, free: 5.551 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.004976/0.5543, allocations: 2.78 MB / 0.6667 GB, free: 2.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.5671, allocations: 3.667 MB / 0.6703 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/0.5679, allocations: 380.4 kB / 0.6707 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.568, allocations: 21.7 kB / 0.6707 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.5681, allocations: 39.12 kB / 0.6707 GB, free: 14.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.866e-06/0.5681, allocations: 0 / 0.6707 GB, free: 14.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.005738/0.5738, allocations: 1.894 MB / 0.6726 GB, free: 12.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.5739, allocations: 85.67 kB / 0.6727 GB, free: 12.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.5749, allocations: 0.6291 MB / 0.6733 GB, free: 11.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-05/0.575, allocations: 25.7 kB / 0.6733 GB, free: 11.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.5753, allocations: 372.7 kB / 0.6737 GB, free: 11.45 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.5756, allocations: 228.5 kB / 0.6739 GB, free: 11.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.5756, allocations: 4 kB / 0.6739 GB, free: 11.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5758, allocations: 330 kB / 0.6742 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.5763, allocations: 329.5 kB / 0.6745 GB, free: 10.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.5769, allocations: 419.8 kB / 0.6749 GB, free: 10.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.5775, allocations: 364.5 kB / 0.6753 GB, free: 9.781 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.5775, allocations: 4 kB / 0.6753 GB, free: 9.777 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005977/0.5835, allocations: 2.109 MB / 0.6773 GB, free: 7.648 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002673/0.5837, allocations: 0.7061 MB / 0.678 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5838, allocations: 4 kB / 0.678 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00351/0.5873, allocations: 0.9443 MB / 0.6789 GB, free: 5.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.5879, allocations: 107.9 kB / 0.679 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007399/0.5953, allocations: 4.085 MB / 0.683 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.5964, allocations: 111.3 kB / 0.6831 GB, free: 1.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.5966, allocations: 23.98 kB / 0.6832 GB, free: 1.496 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.5966, allocations: 5.125 kB / 0.6832 GB, free: 1.492 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005752/0.6023, allocations: 1.984 MB / 0.6851 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6024, allocations: 4 kB / 0.6851 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003482/0.6059, allocations: 0.9484 MB / 0.686 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.6064, allocations: 102.2 kB / 0.6861 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007369/0.6138, allocations: 4.072 MB / 0.6901 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.6149, allocations: 99.38 kB / 0.6902 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.615, allocations: 23.98 kB / 0.6902 GB, free: 10.12 MB / 0.4948 GB 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 (65): * Single equations (assignments): 62 * 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 {(7,59.2%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002582/0.6153, allocations: 126 kB / 0.6903 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.6155, allocations: 82.97 kB / 0.6904 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0061/0.6216, allocations: 1.962 MB / 0.6923 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6216, allocations: 4 kB / 0.6923 GB, free: 7.922 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.6217, allocations: 8.656 kB / 0.6924 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.6217, allocations: 3.984 kB / 0.6924 GB, free: 7.91 MB / 0.4948 GB 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.007195/0.6289, allocations: 3.186 MB / 0.6955 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6289, allocations: 0 / 0.6955 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.6295, allocations: 89.58 kB / 0.6956 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00272/0.6322, allocations: 0.8428 MB / 0.6964 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.6323, allocations: 8 kB / 0.6964 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/0.6379, allocations: 3.28 MB / 0.6996 GB, free: 312 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.6379, allocations: 1.875 kB / 0.6996 GB, free: 312 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006151/0.6441, allocations: 2.522 MB / 0.7021 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.6444, allocations: 187.8 kB / 0.7022 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.6446, allocations: 4 kB / 0.7022 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008597/0.6455, allocations: 67.94 kB / 0.7023 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/0.6458, allocations: 124.3 kB / 0.7024 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.6458, allocations: 23.98 kB / 0.7024 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006628/0.6465, allocations: 491.2 kB / 0.7029 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6465, allocations: 0.8438 kB / 0.7029 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001415/0.6479, allocations: 455.2 kB / 0.7033 GB, free: 12.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d,G1.avr.vm,G1.avr.vr,G1.avr.vf1) * 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.0002659/0.6482, allocations: 127.7 kB / 0.7035 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006204/0.6544, allocations: 2.686 MB / 0.7061 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6544, allocations: 4.438 kB / 0.7061 GB, free: 9.469 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.6569, allocations: 1.085 MB / 0.7072 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.6575, allocations: 59.05 kB / 0.7072 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.6605, allocations: 1.454 MB / 0.7086 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.661, allocations: 0.9956 MB / 0.7096 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005899/0.6616, allocations: 118.3 kB / 0.7097 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.6618, allocations: 35.44 kB / 0.7098 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/0.6618, allocations: 0 / 0.7098 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of Templates: time 0.02665/0.6885, allocations: 16.85 MB / 0.7262 GB, free: 4.945 MB / 0.5261 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)