Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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/HanserModelica 2.0.0-master/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) 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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",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.001199/0.001199, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04365/0.04365, allocations: 8.701 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.4 MB / 246 MB, free: 3.531 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.001061/0.001061, allocations: 90.92 kB / 299.1 MB, free: 2.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.846e-05, allocations: 4 kB / 359.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2627, allocations: 52.55 MB / 412.2 MB, free: 22.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4913/0.754, allocations: 139.6 MB / 0.5388 GB, free: 37.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.7543, allocations: 76.97 kB / 0.5389 GB, free: 37.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8123/1.567, allocations: 220.8 MB / 0.7545 GB, free: 70.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.296e-06/1.567, allocations: 0 / 0.7545 GB, free: 70.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007836/1.567, allocations: 146.5 kB / 0.7547 GB, free: 70.81 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: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.0255/1.593, allocations: 6.129 MB / 0.7606 GB, free: 68.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/1.593, allocations: 10.94 kB / 0.7607 GB, free: 68.11 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006325/1.599, allocations: 1.041 MB / 0.7617 GB, free: 67.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01902/1.618, allocations: 3.015 MB / 0.7646 GB, free: 66.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01766/1.636, allocations: 5.567 MB / 0.7701 GB, free: 64.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006704/1.637, allocations: 482.3 kB / 0.7705 GB, free: 63.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0035/1.64, allocations: 0.6207 MB / 0.7711 GB, free: 63.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03491/1.675, allocations: 10.12 MB / 0.781 GB, free: 55.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005364/1.676, allocations: 7.906 kB / 0.781 GB, free: 55.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003589/1.68, allocations: 270.5 kB / 0.7813 GB, free: 55.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000744/1.68, allocations: 0.4922 MB / 0.7817 GB, free: 55.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02388/1.704, allocations: 9.128 MB / 0.7907 GB, free: 46.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07022/1.774, allocations: 35.5 MB / 0.8253 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02059/1.795, allocations: 20.74 MB / 0.8456 GB, free: 3.582 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005037/1.8, allocations: 2.245 MB / 0.8478 GB, free: 1.336 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005809/1.801, allocations: 224.4 kB / 0.848 GB, free: 1.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.118e-05/1.801, allocations: 68.88 kB / 0.848 GB, free: 1.012 MB / 474.7 MB Notification: Performance of pre-optimization done (n=295): time 6.693e-06/1.801, allocations: 0 / 0.848 GB, free: 1.012 MB / 474.7 MB Notification: Performance of matching and sorting (n=301): time 0.3961/2.197, allocations: 8.441 MB / 0.8563 GB, free: 83.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/2.197, allocations: 84.75 kB / 0.8564 GB, free: 83.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004745/2.202, allocations: 2.649 MB / 0.859 GB, free: 83.22 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003805/2.202, allocations: 71.05 kB / 0.859 GB, free: 83.19 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002024/2.204, allocations: 2.856 MB / 0.8618 GB, free: 81.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/2.205, allocations: 1.03 MB / 0.8628 GB, free: 81.15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/2.206, allocations: 95.47 kB / 0.8629 GB, free: 81.15 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000269/2.206, allocations: 0.4917 MB / 0.8634 GB, free: 80.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/2.209, allocations: 1.954 MB / 0.8653 GB, free: 80.82 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003607/2.212, allocations: 3.631 MB / 0.8688 GB, free: 78.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/2.216, allocations: 2.783 MB / 0.8716 GB, free: 78.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.814e-05/2.216, allocations: 19.03 kB / 0.8716 GB, free: 78.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01054/2.227, allocations: 6.482 MB / 0.8779 GB, free: 78.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/2.227, allocations: 29.09 kB / 0.8779 GB, free: 78.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/2.227, allocations: 55.78 kB / 0.878 GB, free: 78.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/2.229, allocations: 0.6775 MB / 0.8787 GB, free: 78.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004089/2.233, allocations: 1.066 MB / 0.8797 GB, free: 78.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00783/2.241, allocations: 5.8 MB / 0.8854 GB, free: 76.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004922/2.246, allocations: 315.3 kB / 0.8857 GB, free: 76.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006311/2.246, allocations: 230.9 kB / 0.8859 GB, free: 76.94 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (559): * Single equations (assignments): 558 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 28} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000815/2.247, allocations: 397.2 kB / 0.8863 GB, free: 76.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009988/2.248, allocations: 314.4 kB / 0.8866 GB, free: 76.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007695/2.256, allocations: 4.54 MB / 0.891 GB, free: 76.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/2.256, allocations: 31.84 kB / 0.891 GB, free: 76.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/2.256, allocations: 3.844 kB / 0.891 GB, free: 76.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.097e-05/2.256, allocations: 21.11 kB / 0.8911 GB, free: 76.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/2.277, allocations: 11.34 MB / 0.9021 GB, free: 75.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/2.277, allocations: 7.531 kB / 0.9021 GB, free: 75.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/2.279, allocations: 0.5258 MB / 0.9026 GB, free: 75.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/2.281, allocations: 0.5591 MB / 0.9032 GB, free: 75.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/2.281, allocations: 67.8 kB / 0.9033 GB, free: 75.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006433/2.287, allocations: 5.012 MB / 0.9081 GB, free: 72.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/2.287, allocations: 5.812 kB / 0.9082 GB, free: 72.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009839/2.297, allocations: 6.921 MB / 0.9149 GB, free: 68.83 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002192/2.299, allocations: 0.7504 MB / 0.9156 GB, free: 68.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005205/2.3, allocations: 60.5 kB / 0.9157 GB, free: 68.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/2.302, allocations: 162.2 kB / 0.9159 GB, free: 68.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004096/2.302, allocations: 210 kB / 0.9161 GB, free: 68.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001795/2.302, allocations: 86.42 kB / 0.9161 GB, free: 68.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003193/2.306, allocations: 1.956 MB / 0.9181 GB, free: 67.45 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.306, allocations: 0 / 0.9181 GB, free: 67.45 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006016/2.312, allocations: 1.231 MB / 0.9193 GB, free: 67.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (smee.gamma,smee.excitation.electroMagneticConverter.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,64.1%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01021/2.322, allocations: 8.986 MB / 0.928 GB, free: 62.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008019/2.33, allocations: 4.911 MB / 0.9328 GB, free: 60.31 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/2.33, allocations: 0 / 0.9328 GB, free: 60.31 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003329/2.333, allocations: 2.205 MB / 0.935 GB, free: 59.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/2.337, allocations: 0.5709 MB / 0.9355 GB, free: 59.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/2.362, allocations: 11.35 MB / 0.9466 GB, free: 51.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003769/2.366, allocations: 4.259 MB / 0.9508 GB, free: 48.36 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004293/2.37, allocations: 1.399 MB / 0.9521 GB, free: 47.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003041/2.374, allocations: 2.235 MB / 0.9543 GB, free: 45.38 MB / 474.7 MB Notification: Performance of SimCode: time 2.345e-06/2.374, allocations: 4 kB / 0.9543 GB, free: 45.38 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4642/2.838, allocations: 90.12 MB / 1.042 GB, free: 86.74 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/2.838, allocations: 173.6 kB / 1.043 GB, free: 86.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.733/7.571, allocations: 0 / 1.043 GB, free: 86.52 MB / 490.7 MB (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1)