Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.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_Slip4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4",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.001703/0.001703, 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/HanserModelica 2.0.0-master/package.mo): time 0.05439/0.05439, allocations: 8.707 MB / 21.97 MB, free: 3.707 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.391/1.391, allocations: 221.4 MB / 246 MB, free: 3.527 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.001/0.001, allocations: 94.41 kB / 299.1 MB, free: 2.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.446e-05, allocations: 4 kB / 359.6 MB, free: 6.398 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.272, allocations: 52.55 MB / 412.2 MB, free: 22.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.7246, allocations: 139.6 MB / 0.5388 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.7249, allocations: 76.72 kB / 0.5389 GB, free: 37.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.653/1.378, allocations: 221 MB / 0.7547 GB, free: 70.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.378, allocations: 0 / 0.7547 GB, free: 70.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003294/1.378, allocations: 141.4 kB / 0.7549 GB, free: 70.85 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.01876/1.397, allocations: 6.138 MB / 0.7609 GB, free: 68.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.397, allocations: 7.781 kB / 0.7609 GB, free: 68.14 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003153/1.4, allocations: 1.047 MB / 0.7619 GB, free: 67.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/1.417, allocations: 3.012 MB / 0.7648 GB, free: 67.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/1.429, allocations: 5.559 MB / 0.7703 GB, free: 64.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003552/1.43, allocations: 483.9 kB / 0.7707 GB, free: 64.02 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00185/1.432, allocations: 0.6114 MB / 0.7713 GB, free: 63.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/1.451, allocations: 10.13 MB / 0.7812 GB, free: 55.72 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/1.451, allocations: 7.906 kB / 0.7812 GB, free: 55.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007603/1.452, allocations: 274.4 kB / 0.7815 GB, free: 55.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003845/1.453, allocations: 0.4919 MB / 0.782 GB, free: 55.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0154/1.468, allocations: 9.128 MB / 0.7909 GB, free: 46.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05211/1.52, allocations: 35.5 MB / 0.8256 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01688/1.537, allocations: 20.74 MB / 0.8458 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/1.541, allocations: 2.242 MB / 0.848 GB, free: 1.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/1.541, allocations: 229.1 kB / 0.8482 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/1.541, allocations: 61.11 kB / 0.8483 GB, free: 0.832 MB / 474.7 MB Notification: Performance of pre-optimization done (n=295): time 4.619e-06/1.541, allocations: 4 kB / 0.8483 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of matching and sorting (n=301): time 0.3579/1.899, allocations: 8.433 MB / 0.8565 GB, free: 83.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/1.899, allocations: 81 kB / 0.8566 GB, free: 83.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008123/1.907, allocations: 2.65 MB / 0.8592 GB, free: 83.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006158/1.908, allocations: 79.42 kB / 0.8593 GB, free: 83.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002836/1.911, allocations: 2.853 MB / 0.862 GB, free: 81.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001571/1.912, allocations: 1.038 MB / 0.8631 GB, free: 81.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006008/1.913, allocations: 94.16 kB / 0.8631 GB, free: 81.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004474/1.914, allocations: 0.4893 MB / 0.8636 GB, free: 80.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005233/1.919, allocations: 1.955 MB / 0.8655 GB, free: 80.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006699/1.926, allocations: 3.633 MB / 0.8691 GB, free: 78.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007334/1.933, allocations: 2.784 MB / 0.8718 GB, free: 78.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/1.933, allocations: 18.78 kB / 0.8718 GB, free: 78.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.0195/1.953, allocations: 6.474 MB / 0.8781 GB, free: 78.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.953, allocations: 32.41 kB / 0.8782 GB, free: 78.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/1.953, allocations: 55.16 kB / 0.8782 GB, free: 78.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/1.956, allocations: 0.6777 MB / 0.8789 GB, free: 78.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007835/1.964, allocations: 1.066 MB / 0.8799 GB, free: 78.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/1.977, allocations: 5.796 MB / 0.8856 GB, free: 77.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007468/1.984, allocations: 311.7 kB / 0.8859 GB, free: 77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/1.985, allocations: 227 kB / 0.8861 GB, free: 77 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.001044/1.986, allocations: 400.2 kB / 0.8865 GB, free: 76.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/1.987, allocations: 321.1 kB / 0.8868 GB, free: 76.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/2, allocations: 4.539 MB / 0.8912 GB, free: 76.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-05/2, allocations: 29.19 kB / 0.8912 GB, free: 76.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/2, allocations: 7.469 kB / 0.8913 GB, free: 76.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.119e-05/2, allocations: 16.92 kB / 0.8913 GB, free: 76.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02954/2.029, allocations: 11.34 MB / 0.9023 GB, free: 75.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/2.03, allocations: 3.531 kB / 0.9023 GB, free: 75.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003416/2.033, allocations: 0.5245 MB / 0.9029 GB, free: 75.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/2.035, allocations: 0.5655 MB / 0.9034 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004739/2.036, allocations: 68.14 kB / 0.9035 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006665/2.042, allocations: 5.014 MB / 0.9084 GB, free: 72.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/2.042, allocations: 16.34 kB / 0.9084 GB, free: 72.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009798/2.052, allocations: 6.908 MB / 0.9151 GB, free: 68.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/2.055, allocations: 0.752 MB / 0.9159 GB, free: 68.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008664/2.055, allocations: 57.34 kB / 0.9159 GB, free: 68.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002347/2.058, allocations: 163.2 kB / 0.9161 GB, free: 68.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004141/2.058, allocations: 209.1 kB / 0.9163 GB, free: 68.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/2.058, allocations: 87.98 kB / 0.9164 GB, free: 68.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003357/2.062, allocations: 1.955 MB / 0.9183 GB, free: 67.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.062, allocations: 0 / 0.9183 GB, free: 67.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006094/2.068, allocations: 1.232 MB / 0.9195 GB, free: 67.46 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.01019/2.078, allocations: 8.994 MB / 0.9283 GB, free: 62.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007339/2.086, allocations: 4.901 MB / 0.933 GB, free: 60.47 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/2.086, allocations: 0 / 0.933 GB, free: 60.47 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003484/2.089, allocations: 2.21 MB / 0.9352 GB, free: 59.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003532/2.093, allocations: 0.5758 MB / 0.9358 GB, free: 59.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02595/2.119, allocations: 11.34 MB / 0.9468 GB, free: 51.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003488/2.122, allocations: 4.256 MB / 0.951 GB, free: 48.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004043/2.126, allocations: 1.398 MB / 0.9524 GB, free: 47.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002818/2.129, allocations: 2.236 MB / 0.9545 GB, free: 45.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/2.129, allocations: 0 / 0.9545 GB, free: 45.16 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4385/2.568, allocations: 90.13 MB / 1.043 GB, free: 86.65 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/2.568, allocations: 167.8 kB / 1.043 GB, free: 86.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.788/7.356, allocations: 0 / 1.043 GB, free: 86.43 MB / 490.7 MB (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip4.pipe 2>&1)