Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.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_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 175.3 kB / 15.43 MB, free: 5.707 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.03774/0.03774, allocations: 8.919 MB / 25.1 MB, free: 3.512 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.335/1.335, allocations: 225.7 MB / 253.7 MB, free: 5.223 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.000765/0.0007649, allocations: 99.05 kB / 307 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003174, allocations: 8 kB / 370.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2405, allocations: 52.54 MB / 422.8 MB, free: 47.81 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.01238/0.2529, allocations: 14 MB / 436.8 MB, free: 37.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.2631, allocations: 6.464 MB / 443.3 MB, free: 32.36 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004215/0.2674, allocations: 81.5 kB / 443.4 MB, free: 32.34 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005043/0.2725, allocations: 1.073 MB / 444.4 MB, free: 31.84 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/SynchronousMachines/SMEE_Synchronization1.mo:14:3-14:102:writable] Warning: Conditional component ‘ir‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.006449/0.2789, allocations: 1.774 MB / 446.2 MB, free: 30.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.2819, allocations: 1.261 MB / 447.5 MB, free: 29.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006519/0.2885, allocations: 5.019 MB / 452.5 MB, free: 25.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003155/0.2916, allocations: 2.906 MB / 455.4 MB, free: 22.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.2938, allocations: 1.513 MB / 456.9 MB, free: 21.35 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.2959, allocations: 1.968 MB / 458.9 MB, free: 19.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004431/0.2964, allocations: 236 kB / 459.1 MB, free: 19.14 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.2978, allocations: 447.7 kB / 459.5 MB, free: 18.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006139/0.2984, allocations: 0.8871 MB / 460.4 MB, free: 17.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.3004, allocations: 2.023 MB / 462.5 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005139/0.3056, allocations: 7.019 MB / 469.5 MB, free: 8.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3056, allocations: 0 / 469.5 MB, free: 8.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3056, allocations: 0 / 469.5 MB, free: 8.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002023/0.3058, allocations: 0 / 469.5 MB, free: 8.73 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.009298/0.3151, allocations: 4.222 MB / 473.7 MB, free: 4.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3152, allocations: 8.031 kB / 473.7 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/0.3203, allocations: 0.964 MB / 474.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004514/0.3249, allocations: 2.653 MB / 477.3 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.3251, allocations: 275.8 kB / 477.6 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005962/0.3257, allocations: 372 kB / 478 MB, free: 124 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00824/0.3339, allocations: 4.749 MB / 482.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.49e-05/0.334, allocations: 8 kB / 482.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003086/0.3343, allocations: 152 kB / 482.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.3345, allocations: 155.3 kB / 483 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006677/0.3411, allocations: 4.038 MB / 487.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02263/0.3638, allocations: 15.91 MB / 0.4912 GB, free: 6.574 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006106/0.37, allocations: 6.947 MB / 0.498 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/0.3725, allocations: 1.53 MB / 0.4994 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007443/0.3799, allocations: 4.255 MB / 0.5036 GB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.38, allocations: 47.88 kB / 0.5036 GB, free: 8.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=137): time 5.079e-06/0.38, allocations: 3.984 kB / 0.5037 GB, free: 8.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=159): time 0.01262/0.3927, allocations: 6.487 MB / 0.51 GB, free: 2.121 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3927, allocations: 72.72 kB / 0.5101 GB, free: 2.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/0.3959, allocations: 2.215 MB / 0.5122 GB, free: 15.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.3961, allocations: 49.7 kB / 0.5123 GB, free: 15.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.3972, allocations: 1.7 MB / 0.5139 GB, free: 14.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004208/0.3977, allocations: 0.5469 MB / 0.5145 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.3978, allocations: 40 kB / 0.5145 GB, free: 13.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3979, allocations: 394.1 kB / 0.5149 GB, free: 13.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3992, allocations: 0.824 MB / 0.5157 GB, free: 12.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.4009, allocations: 1.48 MB / 0.5171 GB, free: 10.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.4041, allocations: 2.452 MB / 0.5195 GB, free: 7.688 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.4041, allocations: 7.938 kB / 0.5195 GB, free: 7.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=270) (initialization): time 0.004735/0.4089, allocations: 2.959 MB / 0.5224 GB, free: 4.684 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.4089, allocations: 21.38 kB / 0.5224 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/0.409, allocations: 24 kB / 0.5225 GB, free: 4.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00088/0.4099, allocations: 298.3 kB / 0.5227 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.4116, allocations: 487.2 kB / 0.5232 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/0.416, allocations: 4.488 MB / 0.5276 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.4178, allocations: 95.94 kB / 0.5277 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.418, allocations: 95.92 kB / 0.5278 GB, free: 14.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001854/0.4198, allocations: 1.126 MB / 0.5289 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003764/0.4202, allocations: 237.2 kB / 0.5291 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.4241, allocations: 2.432 MB / 0.5315 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4241, allocations: 16 kB / 0.5315 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.4241, allocations: 4 kB / 0.5315 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.4242, allocations: 11.91 kB / 0.5315 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008322/0.4325, allocations: 5.79 MB / 0.5372 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.4325, allocations: 0 / 0.5372 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.4337, allocations: 275.7 kB / 0.5374 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00086/0.4346, allocations: 338.3 kB / 0.5377 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.851e-05/0.4347, allocations: 35.98 kB / 0.5378 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006033/0.4408, allocations: 6.437 MB / 0.5441 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4408, allocations: 0 / 0.5441 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005411/0.4462, allocations: 3.533 MB / 0.5475 GB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009967/0.4472, allocations: 0.4904 MB / 0.548 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.4475, allocations: 32 kB / 0.548 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.4486, allocations: 71.95 kB / 0.5481 GB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/0.4489, allocations: 125 kB / 0.5482 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.33e-05/0.449, allocations: 43.98 kB / 0.5483 GB, free: 9.215 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002114/0.4511, allocations: 1.5 MB / 0.5497 GB, free: 7.699 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4511, allocations: 0 / 0.5497 GB, free: 7.699 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001941/0.453, allocations: 0.6602 MB / 0.5504 GB, free: 7.039 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.stray.Phi.re,smee.stator.stray.Phi.im,constantTorque.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,5,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/0.4534, allocations: 163 kB / 0.5505 GB, free: 6.871 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003655/0.457, allocations: 2.438 MB / 0.5529 GB, free: 4.391 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4571, allocations: 0 / 0.5529 GB, free: 4.391 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002046/0.4591, allocations: 1.416 MB / 0.5543 GB, free: 2.938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002814/0.4619, allocations: 0.5437 MB / 0.5548 GB, free: 2.391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1882/0.6502, allocations: 8.2 MB / 0.5628 GB, free: 121.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002643/0.6529, allocations: 2.517 MB / 0.5653 GB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002145/0.655, allocations: 0.5089 MB / 0.5658 GB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/0.6555, allocations: 153 kB / 0.5659 GB, free: 120.4 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6555, allocations: 3.406 kB / 0.5659 GB, free: 120.4 MB / 426.7 MB Notification: Performance of Templates: time 0.05228/0.7078, allocations: 30.9 MB / 0.5961 GB, free: 100.9 MB / 426.7 MB make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.makefile (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.sim & ./HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.pipe 2>&1)