Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.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_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",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.001649/0.001649, allocations: 175.1 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.04996/0.04996, 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.299/1.299, allocations: 221.4 MB / 246 MB, free: 3.543 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.0009527/0.0009529, allocations: 94.92 kB / 299.1 MB, free: 2.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.352e-05, allocations: 4 kB / 359.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2646, allocations: 52.54 MB / 412.2 MB, free: 22.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.7186, allocations: 139.6 MB / 0.5389 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.7189, allocations: 82.44 kB / 0.5389 GB, free: 37.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7509/1.47, allocations: 221 MB / 0.7547 GB, free: 70.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.787e-06/1.47, allocations: 3.938 kB / 0.7547 GB, free: 70.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004431/1.47, allocations: 142.5 kB / 0.7549 GB, free: 70.86 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.02234/1.493, allocations: 6.132 MB / 0.7609 GB, free: 68.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.493, allocations: 11.22 kB / 0.7609 GB, free: 68.16 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004951/1.498, allocations: 1.044 MB / 0.7619 GB, free: 67.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0177/1.515, allocations: 3.02 MB / 0.7648 GB, free: 67.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/1.53, allocations: 5.561 MB / 0.7703 GB, free: 64.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004371/1.531, allocations: 477 kB / 0.7707 GB, free: 64.03 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002837/1.534, allocations: 0.6169 MB / 0.7713 GB, free: 63.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/1.559, allocations: 10.13 MB / 0.7812 GB, free: 55.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/1.559, allocations: 10.81 kB / 0.7812 GB, free: 55.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001574/1.56, allocations: 274.9 kB / 0.7815 GB, free: 55.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004299/1.561, allocations: 494.6 kB / 0.782 GB, free: 55.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01977/1.581, allocations: 9.129 MB / 0.7909 GB, free: 46.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06332/1.644, allocations: 35.51 MB / 0.8256 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01958/1.664, allocations: 20.75 MB / 0.8458 GB, free: 3.383 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004834/1.668, allocations: 2.24 MB / 0.848 GB, free: 1.145 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00055/1.669, allocations: 226.8 kB / 0.8482 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.901e-05/1.669, allocations: 60.89 kB / 0.8483 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of pre-optimization done (n=295): time 6.683e-06/1.669, allocations: 0 / 0.8483 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of matching and sorting (n=301): time 0.3724/2.042, allocations: 8.434 MB / 0.8565 GB, free: 83.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/2.042, allocations: 85.66 kB / 0.8566 GB, free: 83.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004416/2.046, allocations: 2.657 MB / 0.8592 GB, free: 83.28 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004673/2.047, allocations: 69.52 kB / 0.8593 GB, free: 83.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001736/2.048, allocations: 2.861 MB / 0.8621 GB, free: 81.85 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001351/2.05, allocations: 1.028 MB / 0.8631 GB, free: 81.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/2.05, allocations: 92.22 kB / 0.8631 GB, free: 81.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002958/2.05, allocations: 0.4897 MB / 0.8636 GB, free: 80.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/2.053, allocations: 1.955 MB / 0.8655 GB, free: 80.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/2.057, allocations: 3.63 MB / 0.8691 GB, free: 78.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003855/2.061, allocations: 2.781 MB / 0.8718 GB, free: 78.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.423e-05/2.061, allocations: 17.47 kB / 0.8718 GB, free: 78.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01048/2.071, allocations: 6.481 MB / 0.8781 GB, free: 78.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/2.071, allocations: 27.53 kB / 0.8782 GB, free: 78.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-05/2.072, allocations: 56.94 kB / 0.8782 GB, free: 78.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/2.073, allocations: 0.678 MB / 0.8789 GB, free: 78.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003607/2.077, allocations: 1.067 MB / 0.8799 GB, free: 78.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007392/2.084, allocations: 5.803 MB / 0.8856 GB, free: 77.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00466/2.089, allocations: 304.6 kB / 0.8859 GB, free: 76.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000928/2.09, allocations: 227.7 kB / 0.8861 GB, free: 76.99 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.00145/2.091, allocations: 403.6 kB / 0.8865 GB, free: 76.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/2.093, allocations: 321.1 kB / 0.8868 GB, free: 76.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008922/2.102, allocations: 4.54 MB / 0.8912 GB, free: 76.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/2.102, allocations: 34 kB / 0.8913 GB, free: 76.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/2.102, allocations: 10.5 kB / 0.8913 GB, free: 76.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.455e-05/2.102, allocations: 16.45 kB / 0.8913 GB, free: 76.45 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02591/2.128, allocations: 11.33 MB / 0.9023 GB, free: 75.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/2.128, allocations: 5.906 kB / 0.9024 GB, free: 75.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/2.13, allocations: 0.5269 MB / 0.9029 GB, free: 75.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/2.132, allocations: 0.5629 MB / 0.9034 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004319/2.132, allocations: 70.61 kB / 0.9035 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006307/2.138, allocations: 5.012 MB / 0.9084 GB, free: 72.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/2.139, allocations: 5.781 kB / 0.9084 GB, free: 72.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/2.149, allocations: 6.921 MB / 0.9151 GB, free: 68.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002507/2.151, allocations: 0.7525 MB / 0.9159 GB, free: 68.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/2.152, allocations: 62.08 kB / 0.9159 GB, free: 68.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/2.155, allocations: 160.4 kB / 0.9161 GB, free: 68.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005748/2.156, allocations: 204.7 kB / 0.9163 GB, free: 68.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/2.156, allocations: 89.59 kB / 0.9164 GB, free: 68.36 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003893/2.16, allocations: 1.957 MB / 0.9183 GB, free: 67.57 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.81e-07/2.16, allocations: 0 / 0.9183 GB, free: 67.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007213/2.167, allocations: 1.232 MB / 0.9195 GB, free: 67.43 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.01148/2.179, allocations: 8.986 MB / 0.9283 GB, free: 62.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008677/2.187, allocations: 4.908 MB / 0.9331 GB, free: 60.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/2.187, allocations: 3.406 kB / 0.9331 GB, free: 60.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003989/2.191, allocations: 2.205 MB / 0.9352 GB, free: 59.51 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/2.196, allocations: 0.5715 MB / 0.9358 GB, free: 59.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/2.229, allocations: 11.34 MB / 0.9468 GB, free: 51.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007428/2.237, allocations: 4.255 MB / 0.951 GB, free: 48.17 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00557/2.242, allocations: 1.402 MB / 0.9524 GB, free: 47.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0054/2.248, allocations: 2.233 MB / 0.9545 GB, free: 45.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.054e-06/2.248, allocations: 4 kB / 0.9546 GB, free: 45.19 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4925/2.74, allocations: 90.13 MB / 1.043 GB, free: 86.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/2.74, allocations: 167.8 kB / 1.043 GB, free: 86.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.969/7.71, allocations: 3.75 kB / 1.043 GB, free: 86.44 MB / 490.7 MB (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip2.pipe 2>&1)