Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") translateModel(HanserModelica.SynchronousMachines.SMEE_Slip1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008809/0.000881, allocations: 180.8 kB / 15.43 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.03844/0.03844, allocations: 8.92 MB / 25.1 MB, free: 3.555 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.7 MB / 253.7 MB, free: 5.207 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008839/0.0008839, allocations: 86.23 kB / 307 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.000298, allocations: 8 kB / 370.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2391, allocations: 52.55 MB / 422.8 MB, free: 47.84 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.0191/0.2582, allocations: 22.35 MB / 445.2 MB, free: 31.68 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.2737, allocations: 9.897 MB / 455.1 MB, free: 23.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004249/0.278, allocations: 157 kB / 455.2 MB, free: 23.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00363/0.2817, allocations: 1.544 MB / 456.8 MB, free: 21.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006681/0.2884, allocations: 3.611 MB / 460.4 MB, free: 17.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.2914, allocations: 1.904 MB / 462.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006812/0.2982, allocations: 7.375 MB / 469.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01966/0.3179, allocations: 17.57 MB / 487.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004071/0.322, allocations: 2.744 MB / 490 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004851/0.3269, allocations: 3.369 MB / 493.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.3281, allocations: 428 kB / 493.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.3308, allocations: 0.7769 MB / 494.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001332/0.3321, allocations: 1.37 MB / 495.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00378/0.3359, allocations: 3.286 MB / 499.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.3496, allocations: 13.58 MB / 0.5008 GB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.3497, allocations: 0 / 0.5008 GB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3497, allocations: 0 / 0.5008 GB, free: 11.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004296/0.3502, allocations: 4 kB / 0.5008 GB, free: 11.77 MB / 378.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.02009/0.3703, allocations: 7.385 MB / 0.508 GB, free: 4.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.3703, allocations: 12.03 kB / 0.508 GB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02363/0.394, allocations: 4.401 MB / 0.5123 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008709/0.4027, allocations: 4.527 MB / 0.5167 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003849/0.4031, allocations: 493.1 kB / 0.5172 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/0.4049, allocations: 0.6288 MB / 0.5178 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/0.4262, allocations: 10.3 MB / 0.5279 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/0.4264, allocations: 7.906 kB / 0.5279 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009408/0.4273, allocations: 272 kB / 0.5281 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004011/0.4277, allocations: 417.7 kB / 0.5285 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/0.4473, allocations: 9.806 MB / 0.5381 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2479/0.6952, allocations: 35.76 MB / 0.573 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01536/0.7106, allocations: 20.63 MB / 0.5932 GB, free: 83.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003758/0.7144, allocations: 2.309 MB / 0.5954 GB, free: 82.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.7147, allocations: 226.9 kB / 0.5956 GB, free: 82.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.7147, allocations: 63.23 kB / 0.5957 GB, free: 82.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 5.02e-06/0.7147, allocations: 0 / 0.5957 GB, free: 82.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01821/0.733, allocations: 10.85 MB / 0.6063 GB, free: 77.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.7331, allocations: 82.22 kB / 0.6064 GB, free: 77.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/0.7372, allocations: 2.999 MB / 0.6093 GB, free: 76.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003298/0.7375, allocations: 76.48 kB / 0.6094 GB, free: 76.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.7388, allocations: 2.862 MB / 0.6122 GB, free: 73.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008971/0.7397, allocations: 1.038 MB / 0.6132 GB, free: 72.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.7399, allocations: 95.34 kB / 0.6133 GB, free: 72.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.7402, allocations: 0.4889 MB / 0.6137 GB, free: 72.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/0.7427, allocations: 2.009 MB / 0.6157 GB, free: 71.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003043/0.7458, allocations: 3.706 MB / 0.6193 GB, free: 67.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005652/0.7514, allocations: 6.02 MB / 0.6252 GB, free: 62.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-05/0.7515, allocations: 16 kB / 0.6252 GB, free: 62.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.009348/0.7608, allocations: 6.595 MB / 0.6317 GB, free: 55.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.7609, allocations: 28 kB / 0.6317 GB, free: 55.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.544e-05/0.761, allocations: 56 kB / 0.6317 GB, free: 55.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.7625, allocations: 0.6729 MB / 0.6324 GB, free: 54.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/0.7658, allocations: 1.065 MB / 0.6334 GB, free: 53.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/0.7722, allocations: 5.795 MB / 0.6391 GB, free: 47.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/0.7753, allocations: 283.4 kB / 0.6394 GB, free: 47.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005201/0.7759, allocations: 231.1 kB / 0.6396 GB, free: 47.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (560): * Single equations (assignments): 559 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,28,67.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003588/0.7795, allocations: 2.324 MB / 0.6419 GB, free: 44.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006565/0.7801, allocations: 316.1 kB / 0.6422 GB, free: 44.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006369/0.7865, allocations: 4.62 MB / 0.6467 GB, free: 39.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.7865, allocations: 28 kB / 0.6467 GB, free: 39.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.7866, allocations: 8 kB / 0.6467 GB, free: 39.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/0.7866, allocations: 15.94 kB / 0.6467 GB, free: 39.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.8027, allocations: 11.24 MB / 0.6577 GB, free: 28.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.8028, allocations: 8 kB / 0.6577 GB, free: 28.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/0.8047, allocations: 0.5382 MB / 0.6582 GB, free: 27.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.8061, allocations: 0.5621 MB / 0.6588 GB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.8062, allocations: 71.92 kB / 0.6588 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005584/0.8118, allocations: 5.037 MB / 0.6638 GB, free: 22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8119, allocations: 7.938 kB / 0.6638 GB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008008/0.8199, allocations: 6.549 MB / 0.6702 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/0.8215, allocations: 0.7467 MB / 0.6709 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004627/0.822, allocations: 63.98 kB / 0.671 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.8235, allocations: 143.9 kB / 0.6711 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003904/0.8239, allocations: 210 kB / 0.6713 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/0.8241, allocations: 95.91 kB / 0.6714 GB, free: 14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002472/0.8266, allocations: 1.989 MB / 0.6733 GB, free: 12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8266, allocations: 0 / 0.6733 GB, free: 12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003619/0.8302, allocations: 1.171 MB / 0.6745 GB, free: 10.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,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 (291): * Single equations (assignments): 290 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004499/0.8307, allocations: 234.5 kB / 0.6747 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006879/0.8375, allocations: 4.997 MB / 0.6796 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/0.8376, allocations: 0 / 0.6796 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00308/0.8407, allocations: 2.262 MB / 0.6818 GB, free: 3.297 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/0.8451, allocations: 0.611 MB / 0.6824 GB, free: 2.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/0.8644, allocations: 13.87 MB / 0.6959 GB, free: 4.727 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/0.8682, allocations: 4.15 MB / 0.7 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004004/0.8722, allocations: 1.33 MB / 0.7013 GB, free: 15.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008125/0.873, allocations: 275.4 kB / 0.7015 GB, free: 14.94 MB / 458.7 MB Notification: Performance of SimCode: time 7.41e-07/0.873, allocations: 0 / 0.7015 GB, free: 14.94 MB / 458.7 MB Notification: Performance of Templates: time 0.3093/1.182, allocations: 45.34 MB / 0.7458 GB, free: 149.8 MB / 474.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.makefile (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 & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1)