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.0009939/0.000994, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.292/1.292, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008566/0.0008568, allocations: 86.69 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05921/0.05921, allocations: 12.19 MB / 326.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.275/0.275, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.286e-05/4.302e-05, allocations: 8 kB / 0.5213 GB, free: 24.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 69.25 MB / 0.5889 GB, free: 2.961 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4462/0.5752, allocations: 100.3 MB / 0.6869 GB, free: 15.99 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.5755, allocations: 73.53 kB / 0.6869 GB, free: 15.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05668/0.6322, allocations: 21.46 MB / 0.7079 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6322, allocations: 0 / 0.7079 GB, free: 13.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.944e-05/0.6323, allocations: 13.53 kB / 0.7079 GB, free: 13.79 MB / 458.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.002929/0.6352, allocations: 1.272 MB / 0.7092 GB, free: 12.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6353, allocations: 11.98 kB / 0.7092 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.6354, allocations: 97.45 kB / 0.7093 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.6375, allocations: 381.6 kB / 0.7096 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009308/0.6385, allocations: 0.6203 MB / 0.7102 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.6387, allocations: 151.2 kB / 0.7104 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.6388, allocations: 57.5 kB / 0.7104 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.6399, allocations: 0.6803 MB / 0.7111 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.6399, allocations: 0 / 0.7111 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/0.64, allocations: 24.88 kB / 0.7111 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.64, allocations: 15.98 kB / 0.7111 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009172/0.6409, allocations: 0.5839 MB / 0.7117 GB, free: 10.59 MB / 458.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.004535/0.6455, allocations: 2.878 MB / 0.7145 GB, free: 8.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/0.6583, allocations: 3.699 MB / 0.7181 GB, free: 4.949 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006253/0.659, allocations: 395.6 kB / 0.7185 GB, free: 4.738 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-05/0.6591, allocations: 16.53 kB / 0.7185 GB, free: 4.723 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.6591, allocations: 46.31 kB / 0.7186 GB, free: 4.676 MB / 458.7 MB Notification: Performance of pre-optimization done (n=64): time 2.866e-06/0.6591, allocations: 0 / 0.7186 GB, free: 4.676 MB / 458.7 MB Notification: Performance of matching and sorting (n=64): time 0.005525/0.6647, allocations: 1.94 MB / 0.7205 GB, free: 3.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.6647, allocations: 85.62 kB / 0.7205 GB, free: 2.988 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/0.6657, allocations: 0.6762 MB / 0.7212 GB, free: 2.484 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/0.6657, allocations: 38.89 kB / 0.7212 GB, free: 2.449 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.666, allocations: 383 kB / 0.7216 GB, free: 2.227 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.6662, allocations: 233 kB / 0.7218 GB, free: 2.027 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.6663, allocations: 10.19 kB / 0.7218 GB, free: 2.027 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6664, allocations: 338.8 kB / 0.7222 GB, free: 1.703 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005157/0.6669, allocations: 347.3 kB / 0.7225 GB, free: 1.52 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005771/0.6675, allocations: 434.5 kB / 0.7229 GB, free: 1.238 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.6681, allocations: 378.8 kB / 0.7233 GB, free: 1.027 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6681, allocations: 0 / 0.7233 GB, free: 1.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00585/0.674, allocations: 2.177 MB / 0.7254 GB, free: 15.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.6742, allocations: 0.701 MB / 0.7261 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.6742, allocations: 0 / 0.7261 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003464/0.6777, allocations: 0.9636 MB / 0.727 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.6782, allocations: 107.2 kB / 0.7271 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00716/0.6854, allocations: 4.183 MB / 0.7312 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009441/0.6864, allocations: 121.6 kB / 0.7313 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.6864, allocations: 26.98 kB / 0.7313 GB, free: 10.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.6865, allocations: 4 kB / 0.7313 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005642/0.6921, allocations: 2.06 MB / 0.7334 GB, free: 8.688 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6921, allocations: 4 kB / 0.7334 GB, free: 8.684 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003321/0.6955, allocations: 0.9651 MB / 0.7343 GB, free: 7.852 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.6959, allocations: 111.3 kB / 0.7344 GB, free: 7.746 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006886/0.7028, allocations: 4.164 MB / 0.7385 GB, free: 4.617 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009287/0.7038, allocations: 114 kB / 0.7386 GB, free: 4.516 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.7039, allocations: 21.56 kB / 0.7386 GB, free: 4.5 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 () * 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.0002275/0.7041, allocations: 143.1 kB / 0.7387 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.7043, allocations: 86.97 kB / 0.7388 GB, free: 4.289 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005243/0.7095, allocations: 2.024 MB / 0.7408 GB, free: 2.684 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.7095, allocations: 8 kB / 0.7408 GB, free: 2.676 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.7095, allocations: 4 kB / 0.7408 GB, free: 2.672 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.7096, allocations: 7.984 kB / 0.7408 GB, free: 2.664 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 postOpt removeSimpleEquations (simulation): time 0.006842/0.7164, allocations: 3.306 MB / 0.744 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7164, allocations: 0 / 0.744 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005078/0.7169, allocations: 79.91 kB / 0.7441 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/0.7196, allocations: 0.8643 MB / 0.745 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/0.7197, allocations: 20 kB / 0.745 GB, free: 14.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00554/0.7252, allocations: 3.354 MB / 0.7483 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7252, allocations: 0 / 0.7483 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005869/0.7311, allocations: 2.58 MB / 0.7508 GB, free: 8.367 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.7313, allocations: 187.9 kB / 0.751 GB, free: 8.164 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.7315, allocations: 12 kB / 0.751 GB, free: 8.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/0.7322, allocations: 79.89 kB / 0.751 GB, free: 8.074 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002988/0.7325, allocations: 124.3 kB / 0.7512 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/0.7326, allocations: 19.98 kB / 0.7512 GB, free: 7.934 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006619/0.7333, allocations: 0.5265 MB / 0.7517 GB, free: 7.414 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7333, allocations: 0 / 0.7517 GB, free: 7.414 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001318/0.7346, allocations: 491.3 kB / 0.7522 GB, free: 6.934 MB / 490.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 () * 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.006546/0.7412, allocations: 3.303 MB / 0.7554 GB, free: 3.586 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006289/0.7475, allocations: 2.779 MB / 0.7581 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7475, allocations: 4.062 kB / 0.7581 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002506/0.75, allocations: 1.118 MB / 0.7592 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.7505, allocations: 63.3 kB / 0.7593 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.7538, allocations: 1.639 MB / 0.7609 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.7543, allocations: 0.9996 MB / 0.7618 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005271/0.7548, allocations: 115.4 kB / 0.762 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.7552, allocations: 303.3 kB / 0.7622 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of SimCode: time 2.945e-06/0.7552, allocations: 0 / 0.7622 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04637/0.8016, allocations: 25.84 MB / 0.7875 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.8018, allocations: 157.5 kB / 0.7876 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.651, allocations: 0 / 0.7876 GB, free: 2.328 MB / 0.5105 GB (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)