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.001425/0.001425, allocations: 180.9 kB / 7.65 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.06439/0.06439, allocations: 8.709 MB / 16.79 MB, free: 3.391 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.434/1.434, allocations: 221.5 MB / 240.9 MB, free: 13.13 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.001087/0.001087, allocations: 93.5 kB / 293.8 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.727e-05/1.728e-05, allocations: 4 kB / 352.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1204, allocations: 52.56 MB / 405.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.5764, allocations: 138.9 MB / 0.5315 GB, free: 12.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.5766, allocations: 71.97 kB / 0.5315 GB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9774/1.554, allocations: 218.3 MB / 0.7447 GB, free: 57.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.554, allocations: 0 / 0.7447 GB, free: 57.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004062/1.555, allocations: 141.4 kB / 0.7449 GB, free: 57.78 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.0217/1.576, allocations: 6.131 MB / 0.7509 GB, free: 55.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.576, allocations: 12.11 kB / 0.7509 GB, free: 55.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01809/1.594, allocations: 3.014 MB / 0.7538 GB, free: 55.54 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/1.608, allocations: 5.557 MB / 0.7593 GB, free: 54.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/1.609, allocations: 209.7 kB / 0.7595 GB, free: 54.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/1.611, allocations: 370.8 kB / 0.7598 GB, free: 54.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01537/1.626, allocations: 7.977 MB / 0.7676 GB, free: 54.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02673/1.653, allocations: 9.155 MB / 0.7765 GB, free: 54.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000314/1.654, allocations: 11.59 kB / 0.7765 GB, free: 54.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001837/1.655, allocations: 3.938 kB / 0.7766 GB, free: 54.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005039/1.656, allocations: 497.8 kB / 0.777 GB, free: 54.04 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06295/1.719, allocations: 34.91 MB / 0.8111 GB, free: 45.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01905/1.738, allocations: 21.79 MB / 0.8324 GB, free: 27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003275/1.741, allocations: 2.271 MB / 0.8346 GB, free: 26.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003337/1.742, allocations: 229.6 kB / 0.8348 GB, free: 25.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/1.742, allocations: 66.11 kB / 0.8349 GB, free: 25.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=295): time 4.148e-06/1.742, allocations: 4 kB / 0.8349 GB, free: 25.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=301): time 0.01844/1.76, allocations: 9.842 MB / 0.8445 GB, free: 21.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/1.76, allocations: 84.28 kB / 0.8446 GB, free: 21.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/1.764, allocations: 2.317 MB / 0.8469 GB, free: 20.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003776/1.764, allocations: 29.7 kB / 0.8469 GB, free: 20.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.765, allocations: 2.871 MB / 0.8497 GB, free: 18.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007641/1.766, allocations: 0.987 MB / 0.8507 GB, free: 17.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/1.766, allocations: 0 / 0.8507 GB, free: 17.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002416/1.766, allocations: 493.8 kB / 0.8511 GB, free: 17.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/1.769, allocations: 1.965 MB / 0.853 GB, free: 16.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/1.772, allocations: 3.62 MB / 0.8566 GB, free: 13.51 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005538/1.777, allocations: 3.48 MB / 0.86 GB, free: 12.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-05/1.777, allocations: 15.31 kB / 0.86 GB, free: 12.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=594) (initialization): time 0.01214/1.789, allocations: 6.861 MB / 0.8667 GB, free: 10.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/1.789, allocations: 32.03 kB / 0.8667 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/1.79, allocations: 54.91 kB / 0.8668 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/1.791, allocations: 0.6689 MB / 0.8674 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/1.796, allocations: 1.093 MB / 0.8685 GB, free: 9.922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00765/1.804, allocations: 5.615 MB / 0.874 GB, free: 6.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005076/1.809, allocations: 243.3 kB / 0.8742 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009768/1.81, allocations: 231.6 kB / 0.8744 GB, free: 6.625 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.0009118/1.811, allocations: 251 kB / 0.8747 GB, free: 6.469 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007959/1.819, allocations: 4.338 MB / 0.8789 GB, free: 4.895 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008981/1.819, allocations: 296.5 kB / 0.8792 GB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009958/1.829, allocations: 4.999 MB / 0.8841 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/1.83, allocations: 28 kB / 0.8841 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/1.83, allocations: 12.97 kB / 0.8841 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.691e-05/1.83, allocations: 12.14 kB / 0.8841 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02205/1.852, allocations: 11.12 MB / 0.895 GB, free: 7.992 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.852, allocations: 7.953 kB / 0.895 GB, free: 7.984 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/1.854, allocations: 0.5563 MB / 0.8955 GB, free: 7.551 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/1.855, allocations: 0.5524 MB / 0.8961 GB, free: 7.141 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/1.856, allocations: 26.42 kB / 0.8961 GB, free: 7.121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006453/1.862, allocations: 4.874 MB / 0.9009 GB, free: 2.746 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.862, allocations: 5.406 kB / 0.9009 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/1.874, allocations: 7.482 MB / 0.9082 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.876, allocations: 0.7572 MB / 0.9089 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005003/1.876, allocations: 8 kB / 0.9089 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/1.878, allocations: 132.6 kB / 0.909 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003894/1.879, allocations: 210.9 kB / 0.9092 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/1.879, allocations: 84.41 kB / 0.9093 GB, free: 11.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002768/1.882, allocations: 1.67 MB / 0.911 GB, free: 9.566 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.882, allocations: 0 / 0.911 GB, free: 9.566 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004566/1.886, allocations: 1.058 MB / 0.912 GB, free: 8.512 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.2736/2.16, allocations: 9.461 MB / 0.9212 GB, free: 85.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009231/2.169, allocations: 4.847 MB / 0.926 GB, free: 85.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/2.169, allocations: 3.219 kB / 0.926 GB, free: 85.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003943/2.173, allocations: 2.235 MB / 0.9282 GB, free: 85.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/2.176, allocations: 462.8 kB / 0.9286 GB, free: 85.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/2.204, allocations: 11.17 MB / 0.9395 GB, free: 83.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004345/2.208, allocations: 4.249 MB / 0.9436 GB, free: 82.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004689/2.213, allocations: 1.385 MB / 0.945 GB, free: 82.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004033/2.217, allocations: 2.229 MB / 0.9472 GB, free: 82.2 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/2.217, allocations: 0 / 0.9472 GB, free: 82.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/2.344, allocations: 82.23 MB / 1.027 GB, free: 68.39 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/2.345, allocations: 143.5 kB / 1.028 GB, free: 68.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.537/6.881, allocations: 0 / 1.028 GB, free: 68.18 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)