Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_release_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.001367/0.001367, 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.321/1.321, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0009493/0.0009493, allocations: 88.78 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4414/0.4414, allocations: 78.13 MB / 409.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.402e-05, allocations: 3.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1181, allocations: 69.35 MB / 0.5414 GB, free: 6.855 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3596/0.4777, allocations: 98.11 MB / 0.6372 GB, free: 1.465 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.478, allocations: 73.89 kB / 0.6373 GB, free: 1.395 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05765/0.5357, allocations: 21.83 MB / 0.6586 GB, free: 11.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.5357, allocations: 0 / 0.6586 GB, free: 11.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.85e-05/0.5357, allocations: 16 kB / 0.6586 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.002809/0.5385, allocations: 1.265 MB / 0.6599 GB, free: 10.28 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.5386, allocations: 12.03 kB / 0.6599 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/0.5408, allocations: 386.4 kB / 0.6602 GB, free: 9.891 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008469/0.5416, allocations: 0.606 MB / 0.6608 GB, free: 9.246 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.5418, allocations: 130.4 kB / 0.661 GB, free: 9.102 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.913e-05/0.5419, allocations: 36.41 kB / 0.661 GB, free: 9.066 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009238/0.5428, allocations: 0.5535 MB / 0.6615 GB, free: 8.512 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.5439, allocations: 0.6212 MB / 0.6621 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5439, allocations: 4 kB / 0.6621 GB, free: 7.871 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.074e-05/0.5439, allocations: 0 / 0.6621 GB, free: 7.871 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.544, allocations: 12 kB / 0.6622 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.004559/0.5485, allocations: 2.786 MB / 0.6649 GB, free: 4.965 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/0.5618, allocations: 3.667 MB / 0.6685 GB, free: 1.246 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.5624, allocations: 378.5 kB / 0.6688 GB, free: 0.875 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.429e-05/0.5625, allocations: 12.52 kB / 0.6688 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.5625, allocations: 39.12 kB / 0.6689 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.956e-06/0.5625, allocations: 0 / 0.6689 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.005509/0.5681, allocations: 1.901 MB / 0.6707 GB, free: 14.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.5681, allocations: 86.7 kB / 0.6708 GB, free: 14.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008538/0.569, allocations: 0.6252 MB / 0.6714 GB, free: 14.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.5691, allocations: 29.7 kB / 0.6714 GB, free: 14.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.5693, allocations: 372.7 kB / 0.6718 GB, free: 13.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.5695, allocations: 228.5 kB / 0.672 GB, free: 13.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.5696, allocations: 0 / 0.672 GB, free: 13.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5697, allocations: 337.9 kB / 0.6723 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/0.5702, allocations: 325.5 kB / 0.6727 GB, free: 12.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.5708, allocations: 422.7 kB / 0.6731 GB, free: 12.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.5713, allocations: 360.5 kB / 0.6734 GB, free: 12.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5713, allocations: 1.219 kB / 0.6734 GB, free: 12.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005731/0.5771, allocations: 2.117 MB / 0.6755 GB, free: 9.953 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000233/0.5773, allocations: 0.7022 MB / 0.6762 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5773, allocations: 0 / 0.6762 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003478/0.5808, allocations: 0.9488 MB / 0.6771 GB, free: 8.238 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/0.5814, allocations: 103.9 kB / 0.6772 GB, free: 8.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007176/0.5886, allocations: 4.088 MB / 0.6812 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.5897, allocations: 111.3 kB / 0.6813 GB, free: 3.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/0.5898, allocations: 23.98 kB / 0.6813 GB, free: 3.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.5898, allocations: 4 kB / 0.6813 GB, free: 3.801 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005735/0.5955, allocations: 1.98 MB / 0.6832 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5955, allocations: 0 / 0.6832 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00349/0.599, allocations: 0.9566 MB / 0.6842 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.5996, allocations: 105.4 kB / 0.6843 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00705/0.6067, allocations: 4.075 MB / 0.6883 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.6078, allocations: 99.38 kB / 0.6884 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.6078, allocations: 31.92 kB / 0.6884 GB, free: 12.42 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.0002232/0.6081, allocations: 110 kB / 0.6885 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00518/0.6132, allocations: 1.894 MB / 0.6903 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.6134, allocations: 86.97 kB / 0.6904 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00532/0.6188, allocations: 1.969 MB / 0.6923 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.6188, allocations: 4 kB / 0.6923 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6188, allocations: 4 kB / 0.6923 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6188, allocations: 3.984 kB / 0.6924 GB, free: 8.309 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.00683/0.6256, allocations: 3.179 MB / 0.6955 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6257, allocations: 0 / 0.6955 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.6262, allocations: 87.95 kB / 0.6955 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00274/0.629, allocations: 0.8507 MB / 0.6964 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.6291, allocations: 4 kB / 0.6964 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005401/0.6345, allocations: 3.28 MB / 0.6996 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.6345, allocations: 2.297 kB / 0.6996 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005971/0.6405, allocations: 2.518 MB / 0.702 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.6408, allocations: 187.8 kB / 0.7022 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.6409, allocations: 4 kB / 0.7022 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008085/0.6418, allocations: 75.92 kB / 0.7023 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.6421, allocations: 120.3 kB / 0.7024 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.6421, allocations: 16 kB / 0.7024 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006614/0.6428, allocations: 491.2 kB / 0.7029 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6428, allocations: 0 / 0.7029 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001366/0.6442, allocations: 447.3 kB / 0.7033 GB, free: 12.81 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.006545/0.6507, allocations: 3.247 MB / 0.7065 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006479/0.6572, allocations: 2.691 MB / 0.7091 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6573, allocations: 0 / 0.7091 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002656/0.6599, allocations: 1.096 MB / 0.7102 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/0.6607, allocations: 51.27 kB / 0.7102 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.6643, allocations: 1.588 MB / 0.7118 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.6648, allocations: 0.9956 MB / 0.7128 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005728/0.6654, allocations: 118.5 kB / 0.7129 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.6658, allocations: 299.3 kB / 0.7132 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/0.6658, allocations: 0 / 0.7132 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04749/0.7133, allocations: 23.79 MB / 0.7364 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.7135, allocations: 134.6 kB / 0.7365 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.472, allocations: 0 / 0.7365 GB, free: 10.7 MB / 0.5417 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_release_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)