Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006437/0.006437, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009572/0.0009572, allocations: 90.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06779/0.06779, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4646/0.4646, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005196, allocations: 18.53 kB / 0.528 GB, free: 35.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1433, allocations: 69.24 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.5117, allocations: 100.4 MB / 0.6937 GB, free: 98.22 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.5119, allocations: 73.11 kB / 0.6937 GB, free: 98.22 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05526/0.5672, allocations: 21.51 MB / 0.7147 GB, free: 93.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5672, allocations: 0 / 0.7147 GB, free: 93.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.812e-05/0.5673, allocations: 14.81 kB / 0.7148 GB, free: 93.5 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.003974/0.5713, allocations: 1.483 MB / 0.7162 GB, free: 92.49 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5713, allocations: 17.52 kB / 0.7162 GB, free: 92.48 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002303/0.5715, allocations: 100.3 kB / 0.7163 GB, free: 92.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.5738, allocations: 390.1 kB / 0.7167 GB, free: 92.22 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.575, allocations: 0.6177 MB / 0.7173 GB, free: 91.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.5752, allocations: 148 kB / 0.7174 GB, free: 91.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.5754, allocations: 57.69 kB / 0.7175 GB, free: 91.56 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.5768, allocations: 0.8171 MB / 0.7183 GB, free: 91.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5768, allocations: 0 / 0.7183 GB, free: 91.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/0.5769, allocations: 19.97 kB / 0.7183 GB, free: 91.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.5769, allocations: 11.81 kB / 0.7183 GB, free: 91.07 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.5782, allocations: 0.7382 MB / 0.719 GB, free: 90.73 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.00473/0.5829, allocations: 2.888 MB / 0.7219 GB, free: 88.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.595, allocations: 3.91 MB / 0.7257 GB, free: 85.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.5952, allocations: 12.55 kB / 0.7257 GB, free: 85.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.5952, allocations: 39.12 kB / 0.7257 GB, free: 85.03 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.345e-06/0.5952, allocations: 4 kB / 0.7257 GB, free: 85.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.01264/0.6079, allocations: 4.384 MB / 0.73 GB, free: 80.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.6079, allocations: 85.67 kB / 0.7301 GB, free: 80.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.609, allocations: 0.6761 MB / 0.7307 GB, free: 79.78 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/0.6091, allocations: 41.7 kB / 0.7308 GB, free: 79.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.6093, allocations: 384.6 kB / 0.7312 GB, free: 79.35 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.6096, allocations: 232.6 kB / 0.7314 GB, free: 79.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.6096, allocations: 16 kB / 0.7314 GB, free: 79.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.6097, allocations: 333.9 kB / 0.7317 GB, free: 78.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008036/0.6105, allocations: 481.7 kB / 0.7322 GB, free: 78.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008221/0.6113, allocations: 0.5606 MB / 0.7327 GB, free: 77.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008208/0.6122, allocations: 0.4991 MB / 0.7332 GB, free: 77.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6122, allocations: 0 / 0.7332 GB, free: 77.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006316/0.6185, allocations: 2.544 MB / 0.7357 GB, free: 74.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.6186, allocations: 0.7017 MB / 0.7364 GB, free: 73.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6187, allocations: 8 kB / 0.7364 GB, free: 73.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003854/0.6225, allocations: 1.188 MB / 0.7375 GB, free: 72.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.6231, allocations: 111.8 kB / 0.7376 GB, free: 72.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009037/0.6322, allocations: 5.289 MB / 0.7428 GB, free: 67.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.6333, allocations: 119.4 kB / 0.7429 GB, free: 67.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.6334, allocations: 23.98 kB / 0.743 GB, free: 67.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.6335, allocations: 4 kB / 0.743 GB, free: 67.01 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006143/0.6396, allocations: 2.402 MB / 0.7453 GB, free: 64.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.6396, allocations: 8 kB / 0.7453 GB, free: 64.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003716/0.6434, allocations: 1.185 MB / 0.7465 GB, free: 63.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005161/0.6439, allocations: 103.8 kB / 0.7466 GB, free: 63.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008869/0.6528, allocations: 5.279 MB / 0.7517 GB, free: 57.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.6538, allocations: 111.4 kB / 0.7518 GB, free: 57.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.592e-05/0.6539, allocations: 23.98 kB / 0.7518 GB, free: 57.75 MB / 474.7 MB 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 () * Number of clocked 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.0004712/0.6544, allocations: 281.1 kB / 0.7521 GB, free: 57.46 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.6547, allocations: 94.83 kB / 0.7522 GB, free: 57.37 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005689/0.6604, allocations: 2.391 MB / 0.7545 GB, free: 54.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.6604, allocations: 4 kB / 0.7545 GB, free: 54.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.6604, allocations: 4 kB / 0.7546 GB, free: 54.94 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.6604, allocations: 7.922 kB / 0.7546 GB, free: 54.93 MB / 474.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007344/0.6678, allocations: 3.682 MB / 0.7582 GB, free: 51.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.6678, allocations: 7.922 kB / 0.7582 GB, free: 51.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.6683, allocations: 79.91 kB / 0.7582 GB, free: 51.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/0.6713, allocations: 1.082 MB / 0.7593 GB, free: 49.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.805e-05/0.6714, allocations: 16 kB / 0.7593 GB, free: 49.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007127/0.6786, allocations: 4.289 MB / 0.7635 GB, free: 45.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6786, allocations: 0 / 0.7635 GB, free: 45.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00685/0.6855, allocations: 3.075 MB / 0.7665 GB, free: 42.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.6858, allocations: 191.8 kB / 0.7667 GB, free: 42.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.686, allocations: 12 kB / 0.7667 GB, free: 42.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008609/0.6869, allocations: 79.94 kB / 0.7668 GB, free: 42.12 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.6872, allocations: 124.7 kB / 0.7669 GB, free: 42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.6873, allocations: 19.98 kB / 0.7669 GB, free: 41.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007262/0.688, allocations: 0.5342 MB / 0.7674 GB, free: 41.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.688, allocations: 0 / 0.7674 GB, free: 41.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001416/0.6894, allocations: 495.2 kB / 0.7679 GB, free: 40.96 MB / 474.7 MB 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 () * Number of clocked 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.006745/0.6962, allocations: 3.808 MB / 0.7716 GB, free: 37.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006439/0.7026, allocations: 3.133 MB / 0.7747 GB, free: 33.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7027, allocations: 4.062 kB / 0.7747 GB, free: 33.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002479/0.7051, allocations: 1.259 MB / 0.7759 GB, free: 32.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.7058, allocations: 72.02 kB / 0.776 GB, free: 32.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.7098, allocations: 3.65 MB / 0.7795 GB, free: 28.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.7102, allocations: 0.9945 MB / 0.7805 GB, free: 27.71 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003728/0.7105, allocations: 68.75 kB / 0.7806 GB, free: 27.65 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.7109, allocations: 303.3 kB / 0.7809 GB, free: 27.36 MB / 474.7 MB Notification: Performance of SimCode: time 8.82e-07/0.7109, allocations: 0 / 0.7809 GB, free: 27.36 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.7482, allocations: 24.26 MB / 0.8046 GB, free: 3.223 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.7484, allocations: 188.7 kB / 0.8048 GB, free: 2.984 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.223, allocations: 64 / 0.8048 GB, free: 2.984 MB / 474.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)