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.006274/0.006274, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 223.2 MB / 239 MB, free: 40 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009747/0.0009746, allocations: 96.78 kB / 290.2 MB, free: 4.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5527/0.5526, allocations: 78.51 MB / 419.8 MB, free: 36.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003644, allocations: 15.98 kB / 499.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 69.35 MB / 0.5558 GB, free: 1.645 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.5318, allocations: 98.85 MB / 0.6523 GB, free: 3.246 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.532, allocations: 77.41 kB / 0.6524 GB, free: 3.207 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05839/0.5904, allocations: 22.15 MB / 0.674 GB, free: 13.56 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5905, allocations: 0 / 0.674 GB, free: 13.56 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.374e-05/0.5905, allocations: 16 kB / 0.6741 GB, free: 13.54 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.003743/0.5943, allocations: 1.478 MB / 0.6755 GB, free: 12.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.5944, allocations: 12.03 kB / 0.6755 GB, free: 12 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.5945, allocations: 98.5 kB / 0.6756 GB, free: 11.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.5968, allocations: 382.5 kB / 0.676 GB, free: 11.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.5979, allocations: 0.6133 MB / 0.6766 GB, free: 10.87 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.5981, allocations: 154.7 kB / 0.6767 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.5982, allocations: 59.95 kB / 0.6768 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.5997, allocations: 0.8149 MB / 0.6776 GB, free: 9.812 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5997, allocations: 0 / 0.6776 GB, free: 9.812 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/0.5998, allocations: 20 kB / 0.6776 GB, free: 9.793 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.5998, allocations: 19.98 kB / 0.6776 GB, free: 9.773 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.6012, allocations: 0.73 MB / 0.6783 GB, free: 9.043 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.004889/0.6061, allocations: 2.884 MB / 0.6811 GB, free: 6.039 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/0.62, allocations: 3.922 MB / 0.685 GB, free: 2.066 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.6202, allocations: 12.55 kB / 0.685 GB, free: 2.055 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.6202, allocations: 35.12 kB / 0.685 GB, free: 2.012 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 3.617e-06/0.6203, allocations: 4 kB / 0.685 GB, free: 2.008 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.01377/0.634, allocations: 4.38 MB / 0.6893 GB, free: 13.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.6341, allocations: 81.67 kB / 0.6894 GB, free: 13.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.6352, allocations: 0.6799 MB / 0.69 GB, free: 12.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.6354, allocations: 37.7 kB / 0.6901 GB, free: 12.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.6357, allocations: 380.7 kB / 0.6904 GB, free: 12.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.6359, allocations: 236.5 kB / 0.6907 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.636, allocations: 12 kB / 0.6907 GB, free: 12.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.6361, allocations: 330 kB / 0.691 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000892/0.637, allocations: 477.8 kB / 0.6915 GB, free: 11.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009461/0.638, allocations: 0.5645 MB / 0.692 GB, free: 10.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009341/0.6389, allocations: 0.4959 MB / 0.6925 GB, free: 10.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6389, allocations: 0 / 0.6925 GB, free: 10.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007029/0.646, allocations: 2.548 MB / 0.695 GB, free: 7.648 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002643/0.6463, allocations: 0.7056 MB / 0.6957 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6463, allocations: 4 kB / 0.6957 GB, free: 6.887 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004266/0.6506, allocations: 1.183 MB / 0.6968 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000657/0.6512, allocations: 111.8 kB / 0.6969 GB, free: 5.586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.6618, allocations: 5.288 MB / 0.7021 GB, free: 160 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.663, allocations: 123.3 kB / 0.7022 GB, free: 36 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/0.6631, allocations: 23.98 kB / 0.7022 GB, free: 12 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.6631, allocations: 7.938 kB / 0.7022 GB, free: 4 kB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006763/0.6699, allocations: 2.406 MB / 0.7046 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.6699, allocations: 7.953 kB / 0.7046 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004161/0.6741, allocations: 1.183 MB / 0.7058 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/0.6747, allocations: 103.8 kB / 0.7059 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.6852, allocations: 5.285 MB / 0.711 GB, free: 6.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.6864, allocations: 115.4 kB / 0.7111 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.6865, allocations: 23.98 kB / 0.7111 GB, free: 6.738 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 () * 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.0005498/0.687, allocations: 284.1 kB / 0.7114 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.6872, allocations: 86.97 kB / 0.7115 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006529/0.6938, allocations: 2.394 MB / 0.7138 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.6938, allocations: 11.95 kB / 0.7138 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.6938, allocations: 4 kB / 0.7139 GB, free: 3.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.6939, allocations: 3.984 kB / 0.7139 GB, free: 3.926 MB / 0.4948 GB 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.008339/0.7022, allocations: 3.678 MB / 0.7174 GB, free: 152 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.7023, allocations: 0 / 0.7174 GB, free: 152 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.7029, allocations: 79.89 kB / 0.7175 GB, free: 72 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003427/0.7063, allocations: 1.077 MB / 0.7186 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.7065, allocations: 15.94 kB / 0.7186 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008179/0.7147, allocations: 4.289 MB / 0.7228 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.7147, allocations: 5.5 kB / 0.7228 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007716/0.7224, allocations: 3.085 MB / 0.7258 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003868/0.7228, allocations: 179.9 kB / 0.726 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.723, allocations: 16 kB / 0.726 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008808/0.7239, allocations: 83.81 kB / 0.7261 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/0.7242, allocations: 124.3 kB / 0.7262 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/0.7243, allocations: 19.98 kB / 0.7262 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007039/0.725, allocations: 0.5265 MB / 0.7267 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.91e-07/0.725, allocations: 7.938 kB / 0.7267 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001412/0.7264, allocations: 499.3 kB / 0.7272 GB, free: 5.969 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 () * 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.007868/0.7343, allocations: 3.801 MB / 0.7309 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007476/0.7418, allocations: 3.126 MB / 0.734 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7419, allocations: 0 / 0.734 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002898/0.7448, allocations: 1.261 MB / 0.7352 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.7455, allocations: 63.3 kB / 0.7353 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004715/0.7502, allocations: 3.654 MB / 0.7388 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.7507, allocations: 0.9984 MB / 0.7398 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003983/0.7511, allocations: 64.73 kB / 0.7399 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004843/0.7516, allocations: 309.9 kB / 0.7402 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of SimCode: time 2.464e-06/0.7516, allocations: 4 kB / 0.7402 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04137/0.793, allocations: 24.22 MB / 0.7638 GB, free: 396 kB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.7932, allocations: 183 kB / 0.764 GB, free: 144 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.648/3.441, allocations: 0 / 0.764 GB, free: 144 kB / 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)