Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.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.001706/0.001706, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.516/1.516, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.002287/0.002287, allocations: 211.1 kB / 309.2 MB, free: 3.121 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.05832/0.05832, allocations: 8.935 MB / 374.6 MB, free: 6.594 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: translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2999,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2999,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3") [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.002791/0.002791, allocations: 83.86 kB / 0.4897 GB, free: 44.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08365/0.08644, allocations: 55.61 MB / 0.544 GB, free: 4.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Synchronization3): time 0.02019/0.1066, allocations: 14.32 MB / 0.5579 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.1187, allocations: 5.283 MB / 0.5631 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003236/0.122, allocations: 115.4 kB / 0.5632 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2253/0.3473, allocations: 1.204 MB / 0.5644 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004679/0.3519, allocations: 1.573 MB / 0.5659 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.3541, allocations: 1.012 MB / 0.5669 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004565/0.3586, allocations: 4.752 MB / 0.5716 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002659/0.3613, allocations: 1.902 MB / 0.5734 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.3643, allocations: 2.171 MB / 0.5755 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003936/0.3683, allocations: 2.437 MB / 0.5779 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001529/0.3698, allocations: 0.5685 MB / 0.5785 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.3724, allocations: 0.79 MB / 0.5792 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.3735, allocations: 1.298 MB / 0.5805 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003364/0.3769, allocations: 1.949 MB / 0.5824 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.388, allocations: 7.598 MB / 0.5898 GB, free: 3.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.388, allocations: 4 kB / 0.5898 GB, free: 3.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.388, allocations: 3.938 kB / 0.5898 GB, free: 3.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003594/0.3884, allocations: 0 / 0.5898 GB, free: 3.754 MB / 382.1 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.01682/0.4052, allocations: 5.038 MB / 0.5948 GB, free: 416 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4052, allocations: 14.77 kB / 0.5948 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00578/0.411, allocations: 0.98 MB / 0.5957 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008105/0.4191, allocations: 2.791 MB / 0.5985 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000361/0.4195, allocations: 283.2 kB / 0.5987 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/0.4206, allocations: 368.3 kB / 0.5991 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/0.4325, allocations: 4.922 MB / 0.6039 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.4326, allocations: 2.844 kB / 0.6039 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006296/0.4332, allocations: 161.9 kB / 0.604 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.4334, allocations: 155.8 kB / 0.6042 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008436/0.4418, allocations: 4.047 MB / 0.6081 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0296/0.4714, allocations: 13.29 MB / 0.6211 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006182/0.4776, allocations: 2.725 MB / 0.6238 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00416/0.4818, allocations: 1.82 MB / 0.6256 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009273/0.491, allocations: 3.648 MB / 0.6291 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.4911, allocations: 47.88 kB / 0.6292 GB, free: 3.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=137): time 3.987e-06/0.4911, allocations: 0 / 0.6292 GB, free: 3.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=159): time 0.0152/0.5063, allocations: 6.22 MB / 0.6352 GB, free: 12.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.5063, allocations: 72.66 kB / 0.6353 GB, free: 12.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003903/0.5102, allocations: 2.01 MB / 0.6373 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.5104, allocations: 49.7 kB / 0.6373 GB, free: 10.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.512, allocations: 1.805 MB / 0.6391 GB, free: 8.969 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005958/0.5125, allocations: 0.5814 MB / 0.6396 GB, free: 8.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007345/0.5133, allocations: 412.1 kB / 0.64 GB, free: 7.984 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5134, allocations: 305.1 kB / 0.6403 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.5151, allocations: 0.8409 MB / 0.6411 GB, free: 6.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002342/0.5174, allocations: 1.628 MB / 0.6427 GB, free: 4.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004189/0.5216, allocations: 2.612 MB / 0.6453 GB, free: 1.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-05/0.5216, allocations: 8 kB / 0.6453 GB, free: 1.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006156/0.5278, allocations: 3.03 MB / 0.6483 GB, free: 14.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.5278, allocations: 16 kB / 0.6483 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-05/0.5279, allocations: 29.14 kB / 0.6483 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.5289, allocations: 347.6 kB / 0.6486 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/0.5308, allocations: 0.4953 MB / 0.6491 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00648/0.5373, allocations: 4.952 MB / 0.654 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002177/0.5395, allocations: 99.83 kB / 0.654 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/0.5398, allocations: 108 kB / 0.6541 GB, free: 8.625 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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 (261): * Single equations (assignments): 258 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002456/0.5422, allocations: 1.134 MB / 0.6553 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006555/0.5429, allocations: 230.5 kB / 0.6555 GB, free: 7.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/0.5477, allocations: 2.309 MB / 0.6577 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.5477, allocations: 12 kB / 0.6577 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.5477, allocations: 8 kB / 0.6578 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.5477, allocations: 8.156 kB / 0.6578 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.56, allocations: 4.846 MB / 0.6625 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.56, allocations: 3.938 kB / 0.6625 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.5613, allocations: 267.8 kB / 0.6628 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.5625, allocations: 366.2 kB / 0.6631 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.5626, allocations: 39.98 kB / 0.6631 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0088/0.5714, allocations: 6.955 MB / 0.6699 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5714, allocations: 0 / 0.6699 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006923/0.5784, allocations: 3.424 MB / 0.6733 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/0.5801, allocations: 414.4 kB / 0.6737 GB, free: 4.223 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007144/0.5808, allocations: 32 kB / 0.6737 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.5823, allocations: 67.89 kB / 0.6738 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/0.5826, allocations: 117.1 kB / 0.6739 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.5827, allocations: 43.98 kB / 0.6739 GB, free: 3.965 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002832/0.5856, allocations: 1.319 MB / 0.6752 GB, free: 2.625 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5856, allocations: 0 / 0.6752 GB, free: 2.625 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003248/0.5888, allocations: 0.6601 MB / 0.6758 GB, free: 1.965 MB / 462.1 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 (130): * Single equations (assignments): 127 * 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,8,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.0004335/0.5892, allocations: 170.7 kB / 0.676 GB, free: 1.793 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004886/0.5941, allocations: 2.338 MB / 0.6783 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.5941, allocations: 4 kB / 0.6783 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002549/0.5967, allocations: 1.366 MB / 0.6796 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/0.5997, allocations: 490.8 kB / 0.6801 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.6152, allocations: 6.558 MB / 0.6865 GB, free: 6.941 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003245/0.6185, allocations: 1.986 MB / 0.6884 GB, free: 4.922 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002057/0.6205, allocations: 498.5 kB / 0.6889 GB, free: 4.434 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/0.6212, allocations: 151.4 kB / 0.6891 GB, free: 4.285 MB / 478.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6212, allocations: 0 / 0.6891 GB, free: 4.285 MB / 478.1 MB Notification: Performance of Templates: time 0.06533/0.6865, allocations: 34.09 MB / 0.7224 GB, free: 2.617 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization3.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.321139231324196] Failed to read output from testmodel.py, exit status != 0: 0.695204708725214 0.711199947 0.319699663 Calling exit ...