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-master/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-master/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: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01148/0.01148, allocations: 170.4 kB / 15.11 MB, free: 5.973 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.543/1.543, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.0009708/0.0009708, allocations: 82.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07378/0.07378, allocations: 12.6 MB / 330.5 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4338/0.4338, allocations: 78.52 MB / 460 MB, free: 3.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009047/0.0009047, allocations: 20.42 kB / 0.5285 GB, free: 35.11 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1489, allocations: 69.33 MB / 0.5962 GB, free: 3.816 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/0.6065, allocations: 100.5 MB / 0.6943 GB, free: 35.06 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.6068, allocations: 72.52 kB / 0.6943 GB, free: 35.06 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06097/0.6678, allocations: 21.51 MB / 0.7153 GB, free: 33.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.6678, allocations: 0 / 0.7153 GB, free: 33.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.703e-05/0.6679, allocations: 15.12 kB / 0.7154 GB, free: 33.12 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.005065/0.673, allocations: 1.473 MB / 0.7168 GB, free: 32.39 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6731, allocations: 13.73 kB / 0.7168 GB, free: 32.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.6758, allocations: 397.8 kB / 0.7172 GB, free: 32.33 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.6777, allocations: 0.6192 MB / 0.7178 GB, free: 32.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.6779, allocations: 160.3 kB / 0.7179 GB, free: 31.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/0.6782, allocations: 60.5 kB / 0.718 GB, free: 31.92 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.6803, allocations: 0.8122 MB / 0.7188 GB, free: 31.85 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.6804, allocations: 0 / 0.7188 GB, free: 31.85 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.6805, allocations: 20.25 kB / 0.7188 GB, free: 31.85 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.6805, allocations: 12.16 kB / 0.7188 GB, free: 31.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.6821, allocations: 0.7327 MB / 0.7195 GB, free: 31.84 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.005756/0.6879, allocations: 2.883 MB / 0.7224 GB, free: 31.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.7008, allocations: 3.91 MB / 0.7262 GB, free: 30.65 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.701, allocations: 12.31 kB / 0.7262 GB, free: 30.65 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/0.7011, allocations: 42.53 kB / 0.7262 GB, free: 30.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.995e-06/0.7011, allocations: 0 / 0.7262 GB, free: 30.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.01351/0.7146, allocations: 4.382 MB / 0.7305 GB, free: 30.03 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.7147, allocations: 85.39 kB / 0.7306 GB, free: 29.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.716, allocations: 0.6804 MB / 0.7313 GB, free: 29.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.7162, allocations: 40.61 kB / 0.7313 GB, free: 29.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.7164, allocations: 390.8 kB / 0.7317 GB, free: 29.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/0.7167, allocations: 227.3 kB / 0.7319 GB, free: 29.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.7168, allocations: 15.03 kB / 0.7319 GB, free: 29.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.7168, allocations: 335.5 kB / 0.7322 GB, free: 29.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008667/0.7177, allocations: 479.7 kB / 0.7327 GB, free: 29.15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009014/0.7186, allocations: 0.5593 MB / 0.7332 GB, free: 29.06 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009283/0.7196, allocations: 0.4999 MB / 0.7337 GB, free: 29.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.7196, allocations: 3.906 kB / 0.7337 GB, free: 29.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.007026/0.7266, allocations: 2.533 MB / 0.7362 GB, free: 28.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.7268, allocations: 0.7111 MB / 0.7369 GB, free: 28.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.7268, allocations: 0 / 0.7369 GB, free: 28.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003981/0.7308, allocations: 1.19 MB / 0.738 GB, free: 27.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/0.7315, allocations: 110.1 kB / 0.7381 GB, free: 27.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009749/0.7413, allocations: 5.291 MB / 0.7433 GB, free: 26.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.7427, allocations: 116.6 kB / 0.7434 GB, free: 26.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.7429, allocations: 26.06 kB / 0.7435 GB, free: 26.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.7429, allocations: 6.562 kB / 0.7435 GB, free: 26.48 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006669/0.7496, allocations: 2.41 MB / 0.7458 GB, free: 26.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.7496, allocations: 3.938 kB / 0.7458 GB, free: 26.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/0.7536, allocations: 1.183 MB / 0.747 GB, free: 26.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.7542, allocations: 100.8 kB / 0.7471 GB, free: 26.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009469/0.7637, allocations: 5.277 MB / 0.7522 GB, free: 24.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.765, allocations: 113 kB / 0.7523 GB, free: 24.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.7652, allocations: 23.53 kB / 0.7523 GB, free: 24.74 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.0006051/0.7658, allocations: 288.2 kB / 0.7526 GB, free: 24.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/0.7662, allocations: 89.98 kB / 0.7527 GB, free: 24.49 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006005/0.7722, allocations: 2.395 MB / 0.755 GB, free: 23.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.7722, allocations: 7.953 kB / 0.7551 GB, free: 23.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.7722, allocations: 3.938 kB / 0.7551 GB, free: 23.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.7723, allocations: 0 / 0.7551 GB, free: 23.95 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.007915/0.7802, allocations: 3.682 MB / 0.7587 GB, free: 22.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.7802, allocations: 0 / 0.7587 GB, free: 22.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.7808, allocations: 85.55 kB / 0.7587 GB, free: 22.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00313/0.7839, allocations: 1.078 MB / 0.7598 GB, free: 22.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.68e-05/0.784, allocations: 15.25 kB / 0.7598 GB, free: 22.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007417/0.7915, allocations: 4.286 MB / 0.764 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.7915, allocations: 4 kB / 0.764 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007067/0.7986, allocations: 3.082 MB / 0.767 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004871/0.7991, allocations: 189.5 kB / 0.7672 GB, free: 19.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.7994, allocations: 18.78 kB / 0.7672 GB, free: 19.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.8005, allocations: 85.83 kB / 0.7673 GB, free: 19.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/0.8008, allocations: 117.5 kB / 0.7674 GB, free: 19.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.8009, allocations: 15.53 kB / 0.7674 GB, free: 19.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007964/0.8017, allocations: 0.5342 MB / 0.7679 GB, free: 19.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8017, allocations: 0 / 0.7679 GB, free: 19.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001907/0.8036, allocations: 489.8 kB / 0.7684 GB, free: 19 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.0003116/0.804, allocations: 150.5 kB / 0.7685 GB, free: 18.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007036/0.811, allocations: 3.151 MB / 0.7716 GB, free: 17.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.8111, allocations: 0 / 0.7716 GB, free: 17.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002659/0.8137, allocations: 1.257 MB / 0.7728 GB, free: 17.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.8148, allocations: 62.84 kB / 0.7729 GB, free: 17.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.8191, allocations: 2.14 MB / 0.775 GB, free: 15.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.8203, allocations: 0.9915 MB / 0.776 GB, free: 30.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005037/0.8209, allocations: 71.8 kB / 0.776 GB, free: 30.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.8211, allocations: 42.19 kB / 0.7761 GB, free: 30.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.482e-06/0.8211, allocations: 0 / 0.7761 GB, free: 30.93 MB / 490.7 MB Notification: Performance of Templates: time 0.02512/0.8463, allocations: 17.07 MB / 0.7927 GB, free: 15.61 MB / 490.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)