Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_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.0009374/0.0009374, allocations: 170.2 kB / 7.646 MB, free: 1.434 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.217/1.217, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008176/0.0008177, allocations: 100.2 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4198/0.4198, allocations: 78.06 MB / 409.3 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.506e-05/1.508e-05, allocations: 7.938 kB / 484.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 69.35 MB / 0.5413 GB, free: 6.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/0.4354, allocations: 98.12 MB / 0.6371 GB, free: 1.457 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001528/0.4356, allocations: 74.61 kB / 0.6372 GB, free: 1.387 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05603/0.4916, allocations: 21.84 MB / 0.6585 GB, free: 11.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4917, allocations: 0 / 0.6585 GB, free: 11.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.695e-05/0.4917, allocations: 16 kB / 0.6585 GB, free: 11.59 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.003349/0.4951, allocations: 1.263 MB / 0.6597 GB, free: 10.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4952, allocations: 12.03 kB / 0.6597 GB, free: 10.26 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.4975, allocations: 391.9 kB / 0.6601 GB, free: 9.879 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009546/0.4984, allocations: 0.5982 MB / 0.6607 GB, free: 9.242 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.4986, allocations: 130.4 kB / 0.6608 GB, free: 9.098 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.4987, allocations: 35.91 kB / 0.6609 GB, free: 9.062 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009164/0.4996, allocations: 0.5547 MB / 0.6614 GB, free: 8.508 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.5007, allocations: 0.6212 MB / 0.662 GB, free: 7.871 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5007, allocations: 0 / 0.662 GB, free: 7.871 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/0.5007, allocations: 0 / 0.662 GB, free: 7.871 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.5008, allocations: 12 kB / 0.662 GB, free: 7.859 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.004533/0.5053, allocations: 2.784 MB / 0.6647 GB, free: 4.965 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.5182, allocations: 3.668 MB / 0.6683 GB, free: 1.242 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.5188, allocations: 378.5 kB / 0.6687 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.873e-05/0.5189, allocations: 12.52 kB / 0.6687 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.5189, allocations: 39.12 kB / 0.6687 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.074e-06/0.5189, allocations: 0 / 0.6687 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.005337/0.5242, allocations: 1.901 MB / 0.6706 GB, free: 14.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5243, allocations: 86.61 kB / 0.6707 GB, free: 14.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007847/0.5251, allocations: 0.6252 MB / 0.6713 GB, free: 14.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.5252, allocations: 29.7 kB / 0.6713 GB, free: 14.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002612/0.5254, allocations: 376.7 kB / 0.6717 GB, free: 13.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.5256, allocations: 228.5 kB / 0.6719 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.5257, allocations: 4 kB / 0.6719 GB, free: 13.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5258, allocations: 330 kB / 0.6722 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/0.5263, allocations: 321.6 kB / 0.6725 GB, free: 12.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.5269, allocations: 426.7 kB / 0.6729 GB, free: 12.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/0.5274, allocations: 361.2 kB / 0.6733 GB, free: 12.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5275, allocations: 0 / 0.6733 GB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005856/0.5333, allocations: 2.113 MB / 0.6753 GB, free: 9.953 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002852/0.5336, allocations: 0.7032 MB / 0.676 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5336, allocations: 0 / 0.676 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003438/0.5371, allocations: 0.9531 MB / 0.6769 GB, free: 8.234 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004992/0.5376, allocations: 107.9 kB / 0.677 GB, free: 8.129 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007056/0.5447, allocations: 4.084 MB / 0.681 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5457, allocations: 107.3 kB / 0.6811 GB, free: 3.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.976e-05/0.5458, allocations: 27.98 kB / 0.6812 GB, free: 3.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.5458, allocations: 4 kB / 0.6812 GB, free: 3.801 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005566/0.5514, allocations: 1.984 MB / 0.6831 GB, free: 1.805 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5514, allocations: 4 kB / 0.6831 GB, free: 1.801 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003335/0.5547, allocations: 0.947 MB / 0.684 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.5552, allocations: 107.8 kB / 0.6841 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006984/0.5622, allocations: 4.073 MB / 0.6881 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009037/0.5631, allocations: 99.38 kB / 0.6882 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.5632, allocations: 23.98 kB / 0.6882 GB, free: 12.43 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.0001919/0.5634, allocations: 120.9 kB / 0.6883 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.5636, allocations: 82.97 kB / 0.6884 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0053/0.5689, allocations: 1.959 MB / 0.6903 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.5689, allocations: 8 kB / 0.6903 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.569, allocations: 9.812 kB / 0.6904 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.569, allocations: 3.984 kB / 0.6904 GB, free: 10.22 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.006698/0.5757, allocations: 3.182 MB / 0.6935 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5757, allocations: 0 / 0.6935 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.5762, allocations: 83.89 kB / 0.6935 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002653/0.5789, allocations: 0.8433 MB / 0.6944 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/0.5789, allocations: 8.844 kB / 0.6944 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005307/0.5843, allocations: 3.28 MB / 0.6976 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5843, allocations: 0 / 0.6976 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005741/0.59, allocations: 2.526 MB / 0.7 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.5903, allocations: 179.9 kB / 0.7002 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.5904, allocations: 6.141 kB / 0.7002 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007708/0.5912, allocations: 67.94 kB / 0.7003 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/0.5915, allocations: 132.3 kB / 0.7004 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.5915, allocations: 19.98 kB / 0.7004 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005822/0.5921, allocations: 487.2 kB / 0.7009 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5921, allocations: 0 / 0.7009 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001351/0.5935, allocations: 455.2 kB / 0.7013 GB, free: 14.71 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.000273/0.5938, allocations: 138.9 kB / 0.7015 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006227/0.6, allocations: 2.682 MB / 0.7041 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6, allocations: 4.438 kB / 0.7041 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00242/0.6024, allocations: 1.089 MB / 0.7052 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.6029, allocations: 56 kB / 0.7052 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.6057, allocations: 1.451 MB / 0.7066 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.6062, allocations: 1.003 MB / 0.7076 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005472/0.6067, allocations: 118.9 kB / 0.7077 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.6069, allocations: 35.44 kB / 0.7077 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.6069, allocations: 0 / 0.7077 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of Templates: time 0.02367/0.6306, allocations: 16.83 MB / 0.7242 GB, free: 7.27 MB / 0.5261 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)