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.001242/0.001242, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0442/0.0442, allocations: 8.717 MB / 16.79 MB, free: 3.383 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.423/1.423, allocations: 221.5 MB / 240.9 MB, free: 13.21 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.001114/0.001114, allocations: 92.8 kB / 293.8 MB, free: 7.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.342e-05, allocations: 4 kB / 352.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 52.54 MB / 405.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4738/0.6133, allocations: 139 MB / 0.5315 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.6136, allocations: 82.12 kB / 0.5316 GB, free: 12.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077/1.691, allocations: 218.5 MB / 0.745 GB, free: 57.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.691, allocations: 0 / 0.745 GB, free: 57.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0009023/1.692, allocations: 147.2 kB / 0.7451 GB, free: 57.59 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.03489/1.726, allocations: 6.123 MB / 0.7511 GB, free: 55.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.788e-05/1.727, allocations: 12.92 kB / 0.7511 GB, free: 55.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03078/1.757, allocations: 3.008 MB / 0.754 GB, free: 55.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02095/1.778, allocations: 5.57 MB / 0.7595 GB, free: 54.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004907/1.779, allocations: 206.8 kB / 0.7597 GB, free: 54.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002942/1.782, allocations: 372.3 kB / 0.76 GB, free: 54.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01777/1.8, allocations: 7.981 MB / 0.7678 GB, free: 54.63 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/1.827, allocations: 9.14 MB / 0.7768 GB, free: 53.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002305/1.828, allocations: 7.625 kB / 0.7768 GB, free: 53.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/1.829, allocations: 10.62 kB / 0.7768 GB, free: 53.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000607/1.829, allocations: 0.4917 MB / 0.7773 GB, free: 53.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06884/1.898, allocations: 34.91 MB / 0.8113 GB, free: 45.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02067/1.919, allocations: 21.79 MB / 0.8326 GB, free: 26.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/1.923, allocations: 2.275 MB / 0.8348 GB, free: 25.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004226/1.923, allocations: 228.9 kB / 0.8351 GB, free: 25.67 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.922e-05/1.923, allocations: 59.89 kB / 0.8351 GB, free: 25.61 MB / 458.7 MB Notification: Performance of pre-optimization done (n=295): time 5.481e-06/1.923, allocations: 0 / 0.8351 GB, free: 25.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=301): time 0.02087/1.944, allocations: 9.847 MB / 0.8447 GB, free: 21.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/1.944, allocations: 87.72 kB / 0.8448 GB, free: 21.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/1.948, allocations: 2.311 MB / 0.8471 GB, free: 20.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004282/1.948, allocations: 25.7 kB / 0.8471 GB, free: 20.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/1.949, allocations: 2.873 MB / 0.8499 GB, free: 18.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000862/1.95, allocations: 0.9877 MB / 0.8509 GB, free: 17.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/1.951, allocations: 4 kB / 0.8509 GB, free: 17.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002692/1.951, allocations: 496.8 kB / 0.8514 GB, free: 17.04 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/1.953, allocations: 1.963 MB / 0.8533 GB, free: 16.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/1.957, allocations: 3.617 MB / 0.8568 GB, free: 13.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00631/1.963, allocations: 3.484 MB / 0.8602 GB, free: 12.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-05/1.963, allocations: 14.47 kB / 0.8602 GB, free: 12.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01452/1.977, allocations: 6.858 MB / 0.8669 GB, free: 9.844 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.266e-05/1.978, allocations: 29.78 kB / 0.8669 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/1.978, allocations: 53.72 kB / 0.867 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/1.979, allocations: 0.6723 MB / 0.8677 GB, free: 9.711 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004495/1.984, allocations: 1.095 MB / 0.8687 GB, free: 9.676 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008942/1.993, allocations: 5.623 MB / 0.8742 GB, free: 6.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004749/1.998, allocations: 237.7 kB / 0.8744 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.999, allocations: 228.7 kB / 0.8747 GB, free: 6.383 MB / 458.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.0009712/2, allocations: 258 kB / 0.8749 GB, free: 6.223 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008323/2.008, allocations: 4.343 MB / 0.8791 GB, free: 4.641 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008581/2.009, allocations: 298.8 kB / 0.8794 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009494/2.019, allocations: 4.998 MB / 0.8843 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/2.019, allocations: 28 kB / 0.8843 GB, free: 480 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/2.019, allocations: 13.22 kB / 0.8843 GB, free: 468 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/2.019, allocations: 14.06 kB / 0.8844 GB, free: 468 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/2.041, allocations: 11.05 MB / 0.8952 GB, free: 7.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/2.041, allocations: 7.953 kB / 0.8952 GB, free: 7.582 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/2.043, allocations: 0.553 MB / 0.8957 GB, free: 7.152 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/2.045, allocations: 0.5531 MB / 0.8962 GB, free: 6.742 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003135/2.045, allocations: 31.22 kB / 0.8963 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006726/2.052, allocations: 4.868 MB / 0.901 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.024e-05/2.052, allocations: 5.031 kB / 0.901 GB, free: 2.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/2.066, allocations: 7.499 MB / 0.9084 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002945/2.069, allocations: 0.756 MB / 0.9091 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006974/2.069, allocations: 11.75 kB / 0.9091 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/2.071, allocations: 135.3 kB / 0.9092 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/2.072, allocations: 209.5 kB / 0.9094 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/2.072, allocations: 83.61 kB / 0.9095 GB, free: 10.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002889/2.075, allocations: 1.666 MB / 0.9111 GB, free: 9.246 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.41e-07/2.075, allocations: 4 kB / 0.9111 GB, free: 9.242 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005858/2.081, allocations: 1.058 MB / 0.9122 GB, free: 8.188 MB / 490.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.3522/2.433, allocations: 9.491 MB / 0.9214 GB, free: 81.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01095/2.444, allocations: 4.856 MB / 0.9262 GB, free: 81.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.795e-05/2.444, allocations: 6.812 kB / 0.9262 GB, free: 81.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004728/2.449, allocations: 2.228 MB / 0.9284 GB, free: 81.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/2.452, allocations: 460.7 kB / 0.9288 GB, free: 81.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/2.48, allocations: 11.16 MB / 0.9397 GB, free: 79.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004872/2.485, allocations: 4.259 MB / 0.9439 GB, free: 78.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004606/2.489, allocations: 1.387 MB / 0.9452 GB, free: 78.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003272/2.493, allocations: 2.231 MB / 0.9474 GB, free: 78.73 MB / 490.7 MB Notification: Performance of SimCode: time 7.42e-07/2.493, allocations: 0 / 0.9474 GB, free: 78.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1337/2.626, allocations: 82.24 MB / 1.028 GB, free: 64.71 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/2.627, allocations: 139.5 kB / 1.028 GB, free: 64.51 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.181/6.808, allocations: 0 / 1.028 GB, free: 64.51 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)