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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 253.5 MB, free: 14.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 216.4 kB / 310 MB, free: 3.156 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03994/0.03994, allocations: 8.921 MB / 375.4 MB, free: 6.625 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003742/0.003742, allocations: 79.88 kB / 0.4899 GB, free: 44.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09615, allocations: 55.62 MB / 0.5442 GB, free: 5.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.2277/0.3238, allocations: 21.93 MB / 0.5656 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.3381, allocations: 7.746 MB / 0.5732 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005221/0.3433, allocations: 200.2 kB / 0.5734 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01475/0.3581, allocations: 5.72 MB / 0.579 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008519/0.3666, allocations: 2.79 MB / 0.5817 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004637/0.3712, allocations: 1.607 MB / 0.5833 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.3813, allocations: 7.398 MB / 0.5905 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01471/0.396, allocations: 9.135 MB / 0.5994 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007639/0.4037, allocations: 3.853 MB / 0.6032 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009133/0.4128, allocations: 4.299 MB / 0.6074 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00321/0.416, allocations: 1.072 MB / 0.6084 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005423/0.4215, allocations: 1.468 MB / 0.6099 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003666/0.4251, allocations: 2.146 MB / 0.612 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007219/0.4323, allocations: 3.209 MB / 0.6151 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01872/0.4511, allocations: 14.57 MB / 0.6293 GB, free: 6.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.4511, allocations: 4 kB / 0.6293 GB, free: 6.527 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4511, allocations: 0 / 0.6293 GB, free: 6.527 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003565/0.4514, allocations: 3.938 kB / 0.6293 GB, free: 6.523 MB / 414.1 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.02558/0.477, allocations: 8.9 MB / 0.638 GB, free: 13.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.477, allocations: 11.98 kB / 0.638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002262/0.4773, allocations: 201 kB / 0.6382 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002531/0.4798, allocations: 1.041 MB / 0.6392 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02534/0.5051, allocations: 4.426 MB / 0.6436 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.5163, allocations: 4.629 MB / 0.6481 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005878/0.5169, allocations: 489.1 kB / 0.6486 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002399/0.5193, allocations: 0.6327 MB / 0.6492 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02532/0.5446, allocations: 10.49 MB / 0.6594 GB, free: 7.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003241/0.5449, allocations: 15.89 kB / 0.6594 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002095/0.547, allocations: 271.9 kB / 0.6597 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005266/0.5475, allocations: 421.6 kB / 0.6601 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02208/0.5696, allocations: 9.911 MB / 0.6698 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06196/0.6316, allocations: 30.81 MB / 0.6999 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01485/0.6464, allocations: 6.735 MB / 0.7064 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004109/0.6505, allocations: 2.117 MB / 0.7085 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.6509, allocations: 78.3 kB / 0.7086 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.372e-05/0.651, allocations: 68.94 kB / 0.7086 GB, free: 4.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=301): time 6.282e-06/0.651, allocations: 0 / 0.7086 GB, free: 4.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=359): time 0.03839/0.6894, allocations: 16.37 MB / 0.7246 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02017/0.7095, allocations: 12.04 MB / 0.7364 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004673/0.7142, allocations: 3.033 MB / 0.7393 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005208/0.7147, allocations: 85.7 kB / 0.7394 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002202/0.7169, allocations: 2.964 MB / 0.7423 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/0.7184, allocations: 1.282 MB / 0.7436 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/0.7201, allocations: 1.001 MB / 0.7446 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7202, allocations: 301.1 kB / 0.7448 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003804/0.724, allocations: 2.364 MB / 0.7471 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005239/0.7292, allocations: 4.11 MB / 0.7512 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009811/0.739, allocations: 6.799 MB / 0.7578 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-05/0.7391, allocations: 16 kB / 0.7578 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01555/0.7546, allocations: 7.932 MB / 0.7656 GB, free: 8.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.7547, allocations: 28.22 kB / 0.7656 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.7548, allocations: 59.98 kB / 0.7656 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003759/0.7586, allocations: 1.312 MB / 0.7669 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004482/0.763, allocations: 1.123 MB / 0.768 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2288/0.9919, allocations: 12.46 MB / 0.7802 GB, free: 164.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003731/0.9956, allocations: 299.5 kB / 0.7805 GB, free: 164.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007283/0.9963, allocations: 254.4 kB / 0.7807 GB, free: 164.4 MB / 0.545 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (584): * Single equations (assignments): 582 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,28,65.6%), (8,28,64.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003974/1, allocations: 2.378 MB / 0.783 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008229/1.001, allocations: 357.8 kB / 0.7834 GB, free: 164.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.011, allocations: 6.133 MB / 0.7894 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.242e-05/1.011, allocations: 39.75 kB / 0.7894 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/1.011, allocations: 5.875 kB / 0.7894 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-05/1.012, allocations: 18.2 kB / 0.7894 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02691/1.038, allocations: 16.63 MB / 0.8057 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/1.038, allocations: 8.969 kB / 0.8057 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002274/1.041, allocations: 0.5591 MB / 0.8062 GB, free: 154.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003437/1.044, allocations: 1.321 MB / 0.8075 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003858/1.045, allocations: 80.94 kB / 0.8076 GB, free: 153.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/1.059, allocations: 12.77 MB / 0.8201 GB, free: 146.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01461/1.074, allocations: 11.79 MB / 0.8316 GB, free: 140.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/1.085, allocations: 8.526 MB / 0.8399 GB, free: 132.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/1.087, allocations: 0.7619 MB / 0.8407 GB, free: 131.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005334/1.087, allocations: 71.98 kB / 0.8407 GB, free: 131.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.089, allocations: 163.8 kB / 0.8409 GB, free: 131.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005494/1.089, allocations: 286.5 kB / 0.8412 GB, free: 131.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.09, allocations: 107.2 kB / 0.8413 GB, free: 131 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002576/1.092, allocations: 2.021 MB / 0.8432 GB, free: 129 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.092, allocations: 0 / 0.8432 GB, free: 129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004838/1.097, allocations: 1.363 MB / 0.8446 GB, free: 127.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 ($STATESET1.x,mechanicalPowerSensor.relSpeedSensor.phi_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 303 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,20,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01087/1.108, allocations: 9.231 MB / 0.8536 GB, free: 118.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008586/1.116, allocations: 6.054 MB / 0.8595 GB, free: 112.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.116, allocations: 0 / 0.8595 GB, free: 112.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00453/1.121, allocations: 3.006 MB / 0.8624 GB, free: 109.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/1.124, allocations: 0.665 MB / 0.8631 GB, free: 108.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05657/1.181, allocations: 43.71 MB / 0.9058 GB, free: 62.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003432/1.184, allocations: 3.789 MB / 0.9095 GB, free: 59.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003461/1.188, allocations: 1.367 MB / 0.9108 GB, free: 57.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003047/1.191, allocations: 2.307 MB / 0.913 GB, free: 55.37 MB / 0.545 GB Notification: Performance of SimCode: time 1.773e-06/1.191, allocations: 0 / 0.913 GB, free: 55.37 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3888/1.579, allocations: 109.1 MB / 1.02 GB, free: 186.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.05/22.63, allocations: 1.594 kB / 1.02 GB, free: 186.8 MB / 0.5762 GB " [Timeout remaining time 637] (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/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 34.16798825201113] Failed to read output from testmodel.py, exit status != 0: 22.86403031705413 22.883780751 22.428638262 Calling exit ...