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.0009855/0.0009855, allocations: 174.5 kB / 12.73 MB, free: 2.59 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.268/1.268, allocations: 221.4 MB / 234.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008535/0.0008534, allocations: 85 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5598/0.5598, allocations: 78.09 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.774e-05, allocations: 3.984 kB / 491.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3611, allocations: 69.33 MB / 0.5481 GB, free: 20.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.4833, allocations: 98.8 MB / 0.6446 GB, free: 1.742 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.4836, allocations: 67.97 kB / 0.6446 GB, free: 1.676 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06258/0.5462, allocations: 22.09 MB / 0.6662 GB, free: 11.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.948e-06/0.5462, allocations: 4 kB / 0.6662 GB, free: 11.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.238e-05/0.5463, allocations: 19.94 kB / 0.6662 GB, free: 11.38 MB / 490.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.003534/0.5499, allocations: 1.26 MB / 0.6675 GB, free: 10.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5499, allocations: 11.97 kB / 0.6675 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002588/0.5502, allocations: 98.52 kB / 0.6676 GB, free: 9.961 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.5526, allocations: 390.4 kB / 0.6679 GB, free: 9.578 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.5539, allocations: 0.6063 MB / 0.6685 GB, free: 8.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.5541, allocations: 150.7 kB / 0.6687 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.5543, allocations: 63.86 kB / 0.6687 GB, free: 8.703 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.5557, allocations: 0.6862 MB / 0.6694 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5557, allocations: 0 / 0.6694 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/0.5558, allocations: 20 kB / 0.6694 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.5558, allocations: 15.94 kB / 0.6694 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.5569, allocations: 0.5831 MB / 0.67 GB, free: 7.383 MB / 490.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.005486/0.5624, allocations: 2.878 MB / 0.6728 GB, free: 4.379 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/0.576, allocations: 3.696 MB / 0.6764 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008035/0.5769, allocations: 394.5 kB / 0.6768 GB, free: 252 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.577, allocations: 16.53 kB / 0.6768 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.577, allocations: 43.12 kB / 0.6769 GB, free: 180 kB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.775e-06/0.577, allocations: 0 / 0.6769 GB, free: 180 kB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.2922/0.8692, allocations: 1.933 MB / 0.6787 GB, free: 108.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.8693, allocations: 85.66 kB / 0.6788 GB, free: 108.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.8705, allocations: 0.6674 MB / 0.6795 GB, free: 108.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.8707, allocations: 36.64 kB / 0.6795 GB, free: 108.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.871, allocations: 385.2 kB / 0.6799 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.8712, allocations: 239.7 kB / 0.6801 GB, free: 108.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.8713, allocations: 12.91 kB / 0.6801 GB, free: 108.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.8714, allocations: 330.5 kB / 0.6804 GB, free: 108.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.872, allocations: 340.5 kB / 0.6808 GB, free: 108.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.8726, allocations: 439.6 kB / 0.6812 GB, free: 108 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.8733, allocations: 377.8 kB / 0.6815 GB, free: 108 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.8734, allocations: 1.172 kB / 0.6815 GB, free: 108 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00682/0.8802, allocations: 2.172 MB / 0.6837 GB, free: 107.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.8804, allocations: 0.7079 MB / 0.6844 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.8804, allocations: 1 kB / 0.6844 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004075/0.8845, allocations: 0.9632 MB / 0.6853 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.8852, allocations: 110.2 kB / 0.6854 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006967/0.8921, allocations: 4.171 MB / 0.6895 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.8934, allocations: 125.5 kB / 0.6896 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/0.8935, allocations: 25.36 kB / 0.6896 GB, free: 105.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.8935, allocations: 3.906 kB / 0.6896 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005534/0.899, allocations: 2.062 MB / 0.6916 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.8991, allocations: 0.875 kB / 0.6916 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003448/0.9025, allocations: 0.962 MB / 0.6926 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/0.9032, allocations: 104.4 kB / 0.6927 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006914/0.9101, allocations: 4.168 MB / 0.6967 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.9114, allocations: 118.7 kB / 0.6969 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.9115, allocations: 26.06 kB / 0.6969 GB, free: 102.2 MB / 490.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.0002417/0.9118, allocations: 139.4 kB / 0.697 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.9119, allocations: 88.38 kB / 0.6971 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/0.917, allocations: 2.029 MB / 0.6991 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.9171, allocations: 7.5 kB / 0.6991 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9171, allocations: 3.938 kB / 0.6991 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.9171, allocations: 5.25 kB / 0.6991 GB, free: 101.4 MB / 490.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.006507/0.9236, allocations: 3.307 MB / 0.7023 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9236, allocations: 0 / 0.7023 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.9242, allocations: 81.91 kB / 0.7024 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/0.9267, allocations: 0.8616 MB / 0.7032 GB, free: 99.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/0.9268, allocations: 14.48 kB / 0.7033 GB, free: 99.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004975/0.9318, allocations: 3.353 MB / 0.7065 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.9318, allocations: 3.844 kB / 0.7065 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005653/0.9375, allocations: 2.574 MB / 0.709 GB, free: 95.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.9378, allocations: 189.5 kB / 0.7092 GB, free: 95.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.938, allocations: 15.7 kB / 0.7092 GB, free: 95.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/0.9388, allocations: 82.16 kB / 0.7093 GB, free: 95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.9392, allocations: 132.3 kB / 0.7094 GB, free: 94.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.9392, allocations: 20.73 kB / 0.7095 GB, free: 94.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006325/0.9399, allocations: 0.5215 MB / 0.71 GB, free: 94.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.9399, allocations: 0 / 0.71 GB, free: 94.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001248/0.9411, allocations: 485 kB / 0.7104 GB, free: 93.96 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.006008/0.9471, allocations: 3.312 MB / 0.7137 GB, free: 90.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006005/0.9532, allocations: 2.773 MB / 0.7164 GB, free: 88.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.9532, allocations: 0 / 0.7164 GB, free: 88.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002363/0.9556, allocations: 1.116 MB / 0.7175 GB, free: 87.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.9564, allocations: 64.89 kB / 0.7175 GB, free: 87.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.9597, allocations: 1.648 MB / 0.7191 GB, free: 85.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.9601, allocations: 0.9949 MB / 0.7201 GB, free: 84.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005214/0.9606, allocations: 117.6 kB / 0.7202 GB, free: 84.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.961, allocations: 302.8 kB / 0.7205 GB, free: 84.47 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/0.961, allocations: 0 / 0.7205 GB, free: 84.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04065/1.002, allocations: 25.82 MB / 0.7457 GB, free: 60.53 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/1.002, allocations: 166.8 kB / 0.7459 GB, free: 60.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/3.706, allocations: 0 / 0.7459 GB, free: 60.3 MB / 490.7 MB (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)