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: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 173.9 kB / 7.648 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.266/1.266, 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.0008103/0.0008103, allocations: 94.06 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4376/0.4376, allocations: 78.07 MB / 409.3 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.508e-05/1.509e-05, allocations: 3.938 kB / 485 MB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 69.35 MB / 0.5414 GB, free: 6.754 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/0.4595, allocations: 98.12 MB / 0.6372 GB, free: 1.34 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.4597, allocations: 78.25 kB / 0.6373 GB, free: 1.266 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05778/0.5175, allocations: 21.82 MB / 0.6586 GB, free: 11.47 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5175, allocations: 0 / 0.6586 GB, free: 11.47 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.823e-05/0.5176, allocations: 16 kB / 0.6586 GB, free: 11.46 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.002761/0.5204, allocations: 1.268 MB / 0.6598 GB, free: 10.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5204, allocations: 8.031 kB / 0.6598 GB, free: 10.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.5227, allocations: 390.4 kB / 0.6602 GB, free: 9.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.5238, allocations: 0.6021 MB / 0.6608 GB, free: 9.109 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.524, allocations: 134.3 kB / 0.6609 GB, free: 8.961 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.5241, allocations: 35.91 kB / 0.661 GB, free: 8.926 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001059/0.5251, allocations: 0.5581 MB / 0.6615 GB, free: 8.367 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.5262, allocations: 0.6134 MB / 0.6621 GB, free: 7.738 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5263, allocations: 4 kB / 0.6621 GB, free: 7.734 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.5263, allocations: 6.359 kB / 0.6621 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.5264, allocations: 12 kB / 0.6621 GB, free: 7.719 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.005356/0.5317, allocations: 2.78 MB / 0.6648 GB, free: 4.828 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.5449, allocations: 3.671 MB / 0.6684 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007187/0.5457, allocations: 379.2 kB / 0.6688 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/0.5458, allocations: 8.516 kB / 0.6688 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.5458, allocations: 43.11 kB / 0.6688 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.665e-06/0.5458, allocations: 4 kB / 0.6688 GB, free: 0.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.005439/0.5513, allocations: 1.901 MB / 0.6707 GB, free: 14.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.5513, allocations: 85.67 kB / 0.6708 GB, free: 14.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009229/0.5523, allocations: 0.6252 MB / 0.6714 GB, free: 14.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.5524, allocations: 26.45 kB / 0.6714 GB, free: 13.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.5526, allocations: 376.7 kB / 0.6718 GB, free: 13.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.5529, allocations: 228.5 kB / 0.672 GB, free: 13.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.5529, allocations: 0 / 0.672 GB, free: 13.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.553, allocations: 334 kB / 0.6723 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.5535, allocations: 329.5 kB / 0.6726 GB, free: 12.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/0.5541, allocations: 418.7 kB / 0.673 GB, free: 12.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.5546, allocations: 365.2 kB / 0.6734 GB, free: 11.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5546, allocations: 0 / 0.6734 GB, free: 11.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005669/0.5603, allocations: 2.106 MB / 0.6754 GB, free: 9.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000227/0.5606, allocations: 0.7073 MB / 0.6761 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5606, allocations: 4 kB / 0.6761 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003436/0.564, allocations: 0.9514 MB / 0.6771 GB, free: 8.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.5646, allocations: 103.9 kB / 0.6772 GB, free: 7.988 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/0.5716, allocations: 4.088 MB / 0.6811 GB, free: 3.789 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.5727, allocations: 109.1 kB / 0.6813 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.5728, allocations: 20 kB / 0.6813 GB, free: 3.664 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.5728, allocations: 4 kB / 0.6813 GB, free: 3.66 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005487/0.5783, allocations: 1.985 MB / 0.6832 GB, free: 1.664 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5783, allocations: 8 kB / 0.6832 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/0.5817, allocations: 0.947 MB / 0.6841 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/0.5822, allocations: 103.8 kB / 0.6842 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006944/0.5892, allocations: 4.07 MB / 0.6882 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.5903, allocations: 99.38 kB / 0.6883 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.5904, allocations: 24 kB / 0.6883 GB, free: 12.29 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.0002245/0.5906, allocations: 112.9 kB / 0.6884 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005101/0.5957, allocations: 1.901 MB / 0.6903 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.5959, allocations: 82.97 kB / 0.6904 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00522/0.6011, allocations: 1.972 MB / 0.6923 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.6012, allocations: 8 kB / 0.6923 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.6012, allocations: 4 kB / 0.6923 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.6012, allocations: 3.984 kB / 0.6923 GB, free: 8.164 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.006727/0.6079, allocations: 3.177 MB / 0.6954 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.608, allocations: 4 kB / 0.6954 GB, free: 4.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.6085, allocations: 81.11 kB / 0.6955 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/0.6112, allocations: 0.8548 MB / 0.6963 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.6113, allocations: 0 / 0.6963 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005293/0.6166, allocations: 3.278 MB / 0.6995 GB, free: 0.5664 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6166, allocations: 3.984 kB / 0.6995 GB, free: 0.5625 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005826/0.6225, allocations: 2.523 MB / 0.702 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.6228, allocations: 191.8 kB / 0.7022 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.6229, allocations: 0 / 0.7022 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/0.6237, allocations: 67.94 kB / 0.7023 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/0.624, allocations: 129.2 kB / 0.7024 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.6241, allocations: 16 kB / 0.7024 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005925/0.6247, allocations: 491.2 kB / 0.7029 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6247, allocations: 0 / 0.7029 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001283/0.626, allocations: 443.3 kB / 0.7033 GB, free: 12.67 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.006523/0.6325, allocations: 3.243 MB / 0.7065 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006207/0.6388, allocations: 2.695 MB / 0.7091 GB, free: 6.574 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6388, allocations: 5.125 kB / 0.7091 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/0.6414, allocations: 1.086 MB / 0.7102 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006343/0.642, allocations: 55.25 kB / 0.7102 GB, free: 5.375 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.6452, allocations: 1.59 MB / 0.7118 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.6457, allocations: 0.9917 MB / 0.7127 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005265/0.6463, allocations: 118.9 kB / 0.7128 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.6466, allocations: 299.3 kB / 0.7131 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of SimCode: time 7.62e-07/0.6467, allocations: 4 kB / 0.7131 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04466/0.6913, allocations: 23.78 MB / 0.7363 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.6915, allocations: 123.4 kB / 0.7365 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.829/3.521, allocations: 0 / 0.7365 GB, free: 10.57 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)