Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB_AVR,fileNamePrefix="OpenIPSL_dev_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.001047/0.001047, allocations: 175.2 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.153/1.153, allocations: 221.4 MB / 234.6 MB, free: 14.41 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.0008353/0.0008353, allocations: 98.86 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4156/0.4156, allocations: 78.9 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.99e-05/1.991e-05, allocations: 0 / 492.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.276, allocations: 69.5 MB / 0.5492 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3826, allocations: 99.47 MB / 0.6463 GB, free: 160 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.3828, allocations: 75.97 kB / 0.6464 GB, free: 84 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05651/0.4394, allocations: 22.28 MB / 0.6682 GB, free: 9.625 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4394, allocations: 4 kB / 0.6682 GB, free: 9.621 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.584e-05/0.4395, allocations: 12 kB / 0.6682 GB, free: 9.609 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.003173/0.4427, allocations: 1.266 MB / 0.6694 GB, free: 8.297 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4427, allocations: 11.97 kB / 0.6694 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.4429, allocations: 98.52 kB / 0.6695 GB, free: 8.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.4451, allocations: 390.3 kB / 0.6699 GB, free: 7.797 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.4462, allocations: 0.5988 MB / 0.6705 GB, free: 7.156 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.4464, allocations: 154.7 kB / 0.6706 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.4465, allocations: 67.8 kB / 0.6707 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.4477, allocations: 0.6823 MB / 0.6714 GB, free: 6.227 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4478, allocations: 0 / 0.6714 GB, free: 6.227 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/0.4479, allocations: 20 kB / 0.6714 GB, free: 6.207 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.4479, allocations: 12 kB / 0.6714 GB, free: 6.195 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009972/0.4489, allocations: 0.5793 MB / 0.672 GB, free: 5.613 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.004829/0.4537, allocations: 2.878 MB / 0.6748 GB, free: 2.605 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2555/0.7092, allocations: 3.695 MB / 0.6784 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008382/0.7101, allocations: 403.3 kB / 0.6788 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/0.7102, allocations: 10.42 kB / 0.6788 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.7102, allocations: 38.38 kB / 0.6788 GB, free: 107.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 3.076e-06/0.7103, allocations: 0 / 0.6788 GB, free: 107.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.00573/0.716, allocations: 1.941 MB / 0.6807 GB, free: 107.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.716, allocations: 85.5 kB / 0.6808 GB, free: 107.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.7171, allocations: 0.6744 MB / 0.6814 GB, free: 107.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.316e-05/0.7171, allocations: 34.39 kB / 0.6815 GB, free: 107.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.7174, allocations: 386 kB / 0.6818 GB, free: 107.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.7176, allocations: 237.1 kB / 0.6821 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.7177, allocations: 11.09 kB / 0.6821 GB, free: 107.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.7177, allocations: 336.5 kB / 0.6824 GB, free: 107 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.7183, allocations: 344.5 kB / 0.6827 GB, free: 107 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/0.7189, allocations: 432.8 kB / 0.6831 GB, free: 106.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/0.7195, allocations: 381.8 kB / 0.6835 GB, free: 106.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7196, allocations: 0.8125 kB / 0.6835 GB, free: 106.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006004/0.7256, allocations: 2.171 MB / 0.6856 GB, free: 106.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.7257, allocations: 0.7066 MB / 0.6863 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7257, allocations: 3.938 kB / 0.6863 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/0.7288, allocations: 0.9648 MB / 0.6873 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.7294, allocations: 112.8 kB / 0.6874 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006216/0.7356, allocations: 4.17 MB / 0.6914 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008928/0.7365, allocations: 124.6 kB / 0.6916 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.7366, allocations: 25.45 kB / 0.6916 GB, free: 104.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.7366, allocations: 3.75 kB / 0.6916 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005127/0.7417, allocations: 2.07 MB / 0.6936 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.7417, allocations: 0 / 0.6936 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/0.7448, allocations: 0.9592 MB / 0.6945 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.7453, allocations: 101.9 kB / 0.6946 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/0.7515, allocations: 4.167 MB / 0.6987 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009194/0.7525, allocations: 121.3 kB / 0.6988 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/0.7525, allocations: 21.69 kB / 0.6989 GB, free: 100.8 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.0001816/0.7527, allocations: 137 kB / 0.699 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.7529, allocations: 89.86 kB / 0.6991 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/0.7577, allocations: 2.024 MB / 0.701 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.7577, allocations: 7.906 kB / 0.7011 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7577, allocations: 10.98 kB / 0.7011 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.7577, allocations: 3.656 kB / 0.7011 GB, free: 100 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.005827/0.7635, allocations: 3.31 MB / 0.7043 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.7636, allocations: 0 / 0.7043 GB, free: 98.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.764, allocations: 82.8 kB / 0.7044 GB, free: 98.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002366/0.7664, allocations: 0.8556 MB / 0.7052 GB, free: 98.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.7665, allocations: 23.84 kB / 0.7052 GB, free: 98.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/0.7711, allocations: 3.351 MB / 0.7085 GB, free: 95.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7712, allocations: 4 kB / 0.7085 GB, free: 95.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/0.7762, allocations: 2.574 MB / 0.711 GB, free: 92.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.7764, allocations: 186.9 kB / 0.7112 GB, free: 92.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.7765, allocations: 16 kB / 0.7112 GB, free: 92.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007446/0.7773, allocations: 81.48 kB / 0.7113 GB, free: 92.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.7775, allocations: 128.8 kB / 0.7114 GB, free: 92.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/0.7776, allocations: 23.75 kB / 0.7114 GB, free: 92.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005081/0.7781, allocations: 0.5177 MB / 0.7119 GB, free: 92.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7781, allocations: 8 kB / 0.712 GB, free: 92.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001123/0.7793, allocations: 488.2 kB / 0.7124 GB, free: 91.58 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.005759/0.785, allocations: 3.312 MB / 0.7157 GB, free: 88.56 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006199/0.7912, allocations: 2.762 MB / 0.7184 GB, free: 85.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7912, allocations: 4.438 kB / 0.7184 GB, free: 85.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.7936, allocations: 1.122 MB / 0.7195 GB, free: 84.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.7941, allocations: 68.44 kB / 0.7195 GB, free: 84.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.797, allocations: 1.638 MB / 0.7211 GB, free: 83.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.7973, allocations: 0.9944 MB / 0.7221 GB, free: 82.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000509/0.7979, allocations: 117.4 kB / 0.7222 GB, free: 82.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.7982, allocations: 297.5 kB / 0.7225 GB, free: 82.11 MB / 490.7 MB Notification: Performance of SimCode: time 4.2e-07/0.7982, allocations: 0 / 0.7225 GB, free: 82.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03834/0.8365, allocations: 25.82 MB / 0.7477 GB, free: 58 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/0.8367, allocations: 163.5 kB / 0.7479 GB, free: 57.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.4, allocations: 3.984 kB / 0.7479 GB, free: 57.76 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_AVR.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_AVR.pipe 2>&1)